python - Autoreload does not work in Celery -


i using celery django. works fine if start with:

celery -a panel worker -l debug 

but when enable autoreload feature celery not take tasks queue.

i tried force use ionotify (pyionify installed):

env celeryd_fsnotify=inotify celery -a panel worker -l debug --autoreload  

but no success. last line in debug output is:

[2015-04-25 23:10:19,830: debug/mainprocess] | worker: hub.register  

what can wrong?

i remeber posting bug on github , trying fix this. can see here: https://github.com/celery/celery/issues/2249

but can't it.

ps: don't trust autoreloading in python, in big projects. can cause hard debug errors.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -