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
Using Worker.close gives a warning with redis-py >= 5.0.1:
.venv/lib/python3.10/site-packages/arq/worker.py:846: DeprecationWarning: Call to deprecated close. (Use aclose() instead) -- Deprecated since version 5.0.0.
await self.pool.close(close_connection_pool=True)
Should be pretty straightforward to fix if older versions of redis-py get dropped, otherwise something like if hastattr(self.pool, "aclose"): self.pool.aclose() should work, I guess.
Happy to follow instructions and make the PR if needed. :)
The text was updated successfully, but these errors were encountered:
Hey there, thanks for the neat project!
Using
Worker.close
gives a warning withredis-py >= 5.0.1
:Should be pretty straightforward to fix if older versions of redis-py get dropped, otherwise something like
if hastattr(self.pool, "aclose"): self.pool.aclose()
should work, I guess.Happy to follow instructions and make the PR if needed. :)
The text was updated successfully, but these errors were encountered: