asynch
asynch copied to clipboard
Connection pool initialization
In initialize function there is condition
while self.size < self.minsize:
where self.size is self.freesize + len(self._used) and this leads to the fact that there will never be more than minsize connections in the dequeue, and maxsize connections count never be reached.
May be there should be condition like this:
while self.freesize < self.minsize:
?
I confirm that the maxsize is never reached.
Fix here: https://github.com/long2ice/asynch/pull/97