Connection pool initialization
AlexEbral opened this issue · comments
Alexander Ebral commented
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:
?
Ali Behjati commented
I confirm that the maxsize
is never reached.