Commit Graph

14 Commits

Author SHA1 Message Date
Will Thompson 7554b0c105 init: restart celery workers on 'reload' (fixes #2904)
Sending HUP to the parent of a family of celery workers causes the
parent to re-exec itself, spawning a new set of child workers without
terminating the old ones.

So instead we send TERM to the parent on 'reload', which cleans up the
children, and rely on systemd/upstart to respawn the whole family.
2016-03-17 10:32:58 +01:00
j bcfcfb56ca make sure daemons run with UTF-8 2014-01-18 12:03:25 +00:00
j d48075a635 pid 2013-08-23 18:53:01 +02:00
j 94b0936a14 use start-stop-deamon in init scripts 2013-08-23 18:47:45 +02:00
j 0fe00fd106 dont run cron tasks in encoding queue, can only have one instance, cron jobs are executed several times otherwise 2013-02-21 06:55:49 +00:00
j f4fab78812 celeryd ontions changed 2012-01-19 11:00:07 +05:30
j fc1047bde1 run celery scheduler, compile pyc, pandora user might not have write permissions 2011-10-27 13:27:03 +02:00
j 910b8426dc run cron task in the morning 2011-10-27 13:06:13 +02:00
j 2543fa4f78 add pid to upstart 2011-10-19 16:27:38 +02:00
j 1f4d6e546f dont set task_id, only create poster if timeline exists, do not update poster in update_imdb 2010-12-25 19:15:19 +05:30
j 99528a73d4 $HOME for celery too 2010-12-01 21:34:38 +01:00
j 52cbd6a96f commit message longer than change(removing n) 2010-12-01 01:30:59 +01:00
j 7013814af8 simplyfy celery queue deployment 2010-11-30 22:41:58 +01:00
j a03817ae38 use celery 2010-06-25 13:53:57 +02:00