You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.
A user (@erewok) was trying to use BlockingConnectionPool from v2.0.0.a1 in places where ConnectionPool is working fine and kept hitting an exception on disconnect:
A user (@erewok) was trying to use
BlockingConnectionPool
fromv2.0.0.a1
in places whereConnectionPool
is working fine and kept hitting an exception ondisconnect
:This is in this chunk of code: https://github.com/aio-libs/aioredis-py/blob/c54fca02e216f0fb046b83e6403315fb00cd43e6/aioredis/connection.py#L1598
It looks like the direct reason for this is that on
__init__
a regularConnectionPool
ends up callingreset
, which sets the following attributes:However, the
BlockingConnectionPool
does something different in itsreset
method: https://github.com/aio-libs/aioredis-py/blob/c54fca02e216f0fb046b83e6403315fb00cd43e6/aioredis/connection.py#L1491I am probably going to use
ConnectionPool
for now: I think theBlockingConnectionPool
isn't totally usable yet.Originally posted by @erewok in #930 (comment)
The text was updated successfully, but these errors were encountered: