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.
After switch to aioredis v2 start to receiving an error: TimeoutError: Timed out closing connection after None
The same code on <2 dependency works without any errors!
Average redis load ~2.5k RPS
Redis server working via SaaS and has no troubles with availability and resources
To Reproduce
Don't know how...
Expected behavior
aioredis works fine similar to the previous version
Logs/tracebacks
TimeoutError: Timed out closing connection after None
...
File "aiogram/contrib/fsm_storage/redis.py", line 265, in getreturnawaitself._redis.get(name, **kwargs)
File "aioredis/client.py", line 1082, in execute_command
conn =self.connection orawait pool.get_connection(command_name, **options)
File "aioredis/connection.py", line 1425, in get_connectionawait connection.disconnect()
File "aioredis/connection.py", line 812, in disconnectraiseTimeoutError(
Does the problem still occur on master branch? I suspect you're not disconnecting the connection pool (on master, it should be auto disconnecting when you call Redis.disconnect)
@Andrew-Chen-Wang,
can't test this behaviour in my production anymore, cause it was butthurt for me
As soon as new version will be released, it will be implemented on my staging and the I'll try to check it with my testers.
Thanks for response!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
After switch to
aioredis
v2 start to receiving an error:TimeoutError: Timed out closing connection after None
The same code on
<2
dependency works without any errors!Average redis load ~2.5k RPS
Redis server working via SaaS and has no troubles with availability and resources
To Reproduce
Don't know how...
Expected behavior
aioredis works fine similar to the previous version
Logs/tracebacks
Python Version
aioredis Version
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: