Преглед изворни кода

supervisord examples: Increases stopwaitsecs to 600 (Issue #102). Thanks to kmike

Ask Solem пре 15 година
родитељ
комит
6c1e425ec7
2 измењених фајлова са 8 додато и 0 уклоњено
  1. 4 0
      contrib/supervisord/celeryd.conf
  2. 4 0
      contrib/supervisord/django/celeryd.conf

+ 4 - 0
contrib/supervisord/celeryd.conf

@@ -20,6 +20,10 @@ autostart=true
 autorestart=true
 startsecs=10
 
+; Need to wait for currently executing tasks to finish at shutdown.
+; Increase this if you have very long running tasks.
+stopwaitsecs = 600
+
 ; if rabbitmq is supervised, set its priority higher
 ; so it starts first
 priority=998

+ 4 - 0
contrib/supervisord/django/celeryd.conf

@@ -13,6 +13,10 @@ autostart=true
 autorestart=true
 startsecs=10
 
+; Need to wait for currently executing tasks to finish at shutdown.
+; Increase this if you have very long running tasks.
+stopwaitsecs = 600
+
 ; if rabbitmq is supervised, set its priority higher
 ; so it starts first
 priority=998