timeout-decorator icon indicating copy to clipboard operation
timeout-decorator copied to clipboard

zombie processes

Open shnuwl opened this issue 6 years ago • 1 comments

I used timeout-decorator in Django. When timeout event occurs, I have seen an exception thrown in the server background log. However, I can see that the API request is still pending and the response is empty through chrome. I solved the problem by adding self.__process.join() after line 155 of timeout-decorator.py. Please refer to thehttps://stackoverflow.com/questions/20960740/python-multiprocessing-why-is-process-defunct-after-terminate/20960917?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa

shnuwl avatar Sep 23 '19 13:09 shnuwl

can You please try the wrapt_timeout_decorator and tell me if You have the same problems with it - please let me know. https://github.com/bitranox/wrapt_timeout_decorator

bitranox avatar Sep 23 '19 15:09 bitranox