0

Does celery detect the changes of task code even if task already is prefetched as past task code?

Jony cruse
  • 815
  • 1
  • 13
  • 23

1 Answers1

0

No, you must reload the workers.

scytale
  • 12,346
  • 3
  • 32
  • 46
  • When I reload the workers, celery worker execute task as latest code even if the task was already prefetched like eta setting? – Jony cruse Aug 25 '15 at 12:06
  • Cool. I don't need to care about prefetched task as past code. – Jony cruse Aug 25 '15 at 12:07
  • ETA is not related to [prefetch](http://celery.readthedocs.org/en/latest/userguide/optimizing.html#prefetch-limits) - also see this [answer](http://stackoverflow.com/questions/16040039/understanding-celery-task-prefetching) - you should probably read the celery docs a few times in order to understand basic issues like this. – scytale Aug 25 '15 at 12:09
  • Thanks. This is a great Q&A. – Jony cruse Aug 25 '15 at 12:34