File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -757,8 +757,12 @@ Graceful Shutdown
757757.................
758758
759759If you install the `PCNTL `_ PHP extension in your project, workers will handle
760- the ``SIGTERM `` POSIX signal to finish processing their current message before
761- terminating.
760+ the ``SIGTERM `` or ``SIGINT `` POSIX signals to finish processing their current
761+ message before terminating.
762+
763+ However, you might prefer to use different POSIX signals for graceful shutdown.
764+ You can override default ones by setting ``framework.messenger.stop_worker_on_signals ``
765+ configuration option.
762766
763767In some cases the ``SIGTERM `` signal is sent by Supervisor itself (e.g. stopping
764768a Docker container having Supervisor as its entrypoint). In these cases you
You can’t perform that action at this time.
0 commit comments