stopasgroup sends the original term signal to the child processes. In the case of Celery, that propagates as an immediate error (WorkerLostError: Worker exited prematurely: signal 15 (SIGTERM) email). By turning this off, child processes will have killwaitseconds to actually complete their task.
stopasgroup
sends the original term signal to the child processes. In the case of Celery, that propagates as an immediate error (WorkerLostError: Worker exited prematurely: signal 15 (SIGTERM)
email). By turning this off, child processes will havekillwaitseconds
to actually complete their task.