celery.node icon indicating copy to clipboard operation
celery.node copied to clipboard

Handle `SIGTERM` signals

Open crosvera opened this issue 3 years ago • 0 comments

On Python, Celery handles the SIGTERM signal in order to stop the worker to receive more tasks, waits for the current job to finish and the worker shutdowns. Is it possible to archive this in the Node version? I tried to send a SIGTERM signal on a worker (while it was doing some job) but interrupted the processing and got terminated.

Thanks in advance.

crosvera avatar May 25 '22 20:05 crosvera