I'm wondering what the best way to restart Celery is without losing any tasks during the restart.
I'm currently running it as a daemon using the init.d/ script provided with celery - everything is working great.
Nonetheless, I will need to restart it (I think?) in order for it to see code updates. My concern is if someone uploads a photo and we want to do processing on it during that 5s or so window that celery is restarting the task will be lost forever and we'll start seeing weird issues.
Is there a suggested way to reload code for celery without losing any transactions in the meantime?