Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.

changes to request and get_node #20

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Bangsheng
Copy link

Two changes:

  1. pool.request and Pool.request now return the http.request object. This is good for both test and reuse purpose. I noticed that pool.put, pool.post and pool.del all return pool.request, but pool.request returns nothing.
  2. pool.get_node now returns the node with lowest number of pending requests.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant