Merge pull request #5 from dukhlov/master

Small fix of timeout parameter usage
This commit is contained in:
andrew
2015-11-23 11:58:09 -08:00

View File

@@ -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()