Skip to content

Conversation

anti-social
Copy link

We have a problem with python-memcached and celery. Sometimes our tasks get incorrect data from memcache.
This is because celery send SIGUSR1 signal to the worker process that exceeds soft time limit. The worker handle that signal and raises SoftTimeLimitExceeded exception. If this happened between writing and reading from socket received data remains in the socket. Thus next task receives them.

@anti-social anti-social force-pushed the dev/close-socket-on-exception branch 2 times, most recently from 1d40693 to 206cef5 Compare September 29, 2017 21:08
@anti-social anti-social force-pushed the dev/close-socket-on-exception branch from 206cef5 to 83f3a07 Compare September 29, 2017 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant