Merge pull request #5 from dukhlov/master
Small fix of timeout parameter usage
This commit is contained in:
@@ -307,7 +307,7 @@ class QueuedPool(Pool):
|
||||
except Overflow:
|
||||
timeout = timeout or self.timeout
|
||||
try:
|
||||
fairy = self._queue.get(timeout=self.timeout)
|
||||
fairy = self._queue.get(timeout=timeout)
|
||||
except queue.Empty:
|
||||
try:
|
||||
fairy = self._create()
|
||||
|
||||
Reference in New Issue
Block a user