Skip to content

Revert "Removed the HTTPClientPool feature" #49

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 11, 2017
Merged

Conversation

joelwurtz
Copy link
Member

Reverts #47

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

Nyholm commented Feb 12, 2017

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
Copy link
Member

sagikazarmark commented Mar 18, 2017

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
Copy link
Member

Nyholm commented May 2, 2017

Ping. I really want this in master.

@Nyholm
Copy link
Member

Nyholm commented Jul 6, 2017

Ping @joelwurtz.

*
* @return bool
*/
public function isDisabled()
Copy link
Member Author

@joelwurtz joelwurtz Jul 6, 2017

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()
Copy link
Member Author

@joelwurtz joelwurtz Jul 6, 2017

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
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
@@ -69,25 +69,4 @@ public function it_reenable_client(HttpClient $client, RequestInterface $request
$this->shouldThrow('Http\Client\Exception\HttpException')->duringSendRequest($request);
$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
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
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