Skip to content

Revert "Removed the HTTPClientPool feature" - #49

Merged
Nyholm merged 2 commits into
masterfrom
revert-47-no-pool
Jul 11, 2017
Merged

Nyholm merged 2 commits into
masterfrom
revert-47-no-pool

Conversation

@joelwurtz

Copy link
Copy Markdown
Member

Reverts #47

@sagikazarmark sagikazarmark modified the milestone: v1.4.0 Oct 15, 2016
@Nyholm

Nyholm commented Feb 12, 2017

Copy link
Copy Markdown
Member

How does this feature look? Are we ready to merge it back to master and release a stable version?

@sagikazarmark sagikazarmark modified the milestones: v1.4.0, v1.5.0 Mar 18, 2017
@sagikazarmark

sagikazarmark commented Mar 18, 2017 •

Copy link
Copy Markdown
Member

This is in the queue for a long time now. Can we wrap it up in the near future or we put it on a nice to have list?

Currently I added it to the 1.5.0 milestone which has no ETA yet.

@Nyholm

Nyholm commented May 2, 2017

Copy link
Copy Markdown
Member

Ping. I really want this in master.

@Nyholm

Nyholm commented Jul 6, 2017

Copy link
Copy Markdown
Member

Ping @joelwurtz.

*
* @return bool
*/
public function isDisabled()

@joelwurtz joelwurtz Jul 6, 2017 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be final ? (and tagged with @internal)

*
* @return int
*/
public function getSendingRequestCount()

@joelwurtz joelwurtz Jul 6, 2017 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be final ? (and tagged with @internal)

@joelwurtz

Copy link
Copy Markdown
Member Author

I ask two questions here, a part from that i'm happy on how it's done. So if you have input on this 👍

@Nyholm
Nyholm force-pushed the revert-47-no-pool branch from 649a88b to f75916f Compare July 10, 2017 20:52
$this->shouldThrow('Http\Client\Exception\HttpException')->duringSendRequest($request);
}

public function it_uses_the_lowest_request_client(HttpClientPoolItem $client1, HttpClientPoolItem $client2, RequestInterface $request, ResponseInterface $response)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we okey to remove this? We cannot use $client1->getSendingRequestCount() or $client1->isDisabled() because those methods are final

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:/ Just using @internal should be enough then

@Nyholm
Nyholm force-pushed the revert-47-no-pool branch from 5e0cb12 to e7d14e4 Compare July 11, 2017 05:44
@Nyholm
Nyholm merged commit 7b34df8 into master Jul 11, 2017
@Nyholm
Nyholm deleted the revert-47-no-pool branch July 11, 2017 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants