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.
Exception ignored in: <function Redis.__del__ at 0x7fd693f889d0>
Traceback (most recent call last):
File "/home/squash/miniconda3/lib/python3.9/site-packages/aioredis/client.py", line 1063, in __del__
File "/home/squash/miniconda3/lib/python3.9/site-packages/aioredis/client.py", line 916, in __repr__
File "/home/squash/miniconda3/lib/python3.9/site-packages/aioredis/connection.py", line 1337, in __repr__
File "/home/squash/miniconda3/lib/python3.9/site-packages/aioredis/connection.py", line 653, in __init__
File "/home/squash/miniconda3/envs/data_processing/lib/python3.9/asyncio/locks.py", line 81, in __init__
File "/home/squash/miniconda3/envs/data_processing/lib/python3.9/asyncio/events.py", line 642, in get_event_loopRuntimeError: There is no current event loop in thread 'MainThread'.
I think you have to either drop your redis_client and pass the redis only, or redis_client.close() in the shutdown. Otherwise the connection will not be cleaned up. @UP2022742
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
Perhaps the same bug that happens in the syncronous version of the Redis client here
Happens when a SIGTERM is fired to the worker.
To Reproduce
Expected behavior
...
Adding this didn't help as it did here
Should close the server without erroring.
Logs/tracebacks
Python Version
aioredis Version
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: