Commit graph

27 commits

Author SHA1 Message Date
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
29204b6fb5 move gunicorn configuration from init script to config file 2016-03-07 14:25:24 +05:30
j
09ac3c32b0 update init scripts 2016-02-20 15:15:02 +05:30
j
dbf2ef78af add websocket service files 2015-04-28 23:07:36 +05:30
j
bcfcfb56ca make sure daemons run with UTF-8 2014-01-18 12:03:25 +00:00
j
3d8daf1ede add max-requets to gunicorn 2013-08-25 17:11:38 +02: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
3d6f15a271 compile as pandora user 2013-05-07 16:40:45 +00: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
c753688f41 fix queue for cronjob 2012-06-07 10:59:13 +02:00
j
1607e2a685 gunicorn 14 does not need settings to be passed 2012-03-09 13:35:00 +01: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
574210685e use $USER 2011-03-24 11:39:07 +01: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
ccddcae5e5 90 seconds timeout 2010-12-23 18:00:10 +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
c55cdf3a73 update post after stream update 2010-12-01 01:00:33 +01:00
j
fd9b50e2dc use oxdb_id for parse_path too. pytohn-ox needs /home/j 2010-12-01 00:33:42 +01:00
j
7013814af8 simplyfy celery queue deployment 2010-11-30 22:41:58 +01:00
j
5d205f2aee update docs and example nginx/apache config 2010-11-28 16:06:48 +01:00
j
a03817ae38 use celery 2010-06-25 13:53:57 +02:00
j
ac23b43e9f init scripts and name 2010-04-29 14:29:13 +03:00