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
File "/usr/local/lib/python3.6/site-packages/redis/connection.py" in send_packed_command
709. (errno, errmsg))
Exception Type: OperationalError at <url>
Exception Value: Error 104 while writing to socket. Connection reset by peer.
and the key has been locked even though there was no task on the queue.
I feel like here the case when apply_async call fails (doesn't push task on the queue) is not handled, so we end up in a state where the key is locked and we don't have the task in the queue. I haven't tried to reproduce this, maybe it's possible to just have redis settings point to an invalid endpoint.
The text was updated successfully, but these errors were encountered:
pkariz
changed the title
Missing exception for ConnectionError
Missing apply_async ConnectionError handling
Jul 28, 2020
While calling
apply_async
i got this:and the key has been locked even though there was no task on the queue.
I feel like here the case when
apply_async
call fails (doesn't push task on the queue) is not handled, so we end up in a state where the key is locked and we don't have the task in the queue. I haven't tried to reproduce this, maybe it's possible to just have redis settings point to an invalid endpoint.The text was updated successfully, but these errors were encountered: