Skip to content

Commit e19e1e9

Browse files
AymDevOskarStark
andauthored
[Messenger] Add Supervisor stopwaitsecs example code
Co-authored-by: Oskar Stark <oskarstark@googlemail.com>
1 parent ce45e4d commit e19e1e9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

messenger.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,11 @@ current message before exiting, as long as the `PCNTL`_ extension is installed.
666666
In these cases you need to add a ``stopwaitsecs`` key to the program
667667
configuration (with a value of the desired grace period in seconds)
668668
in order to perform a graceful shutdown.
669+
670+
.. code-block:: ini
671+
672+
[program:x]
673+
stopwaitsecs=20
669674
670675
.. _messenger-retries-failures:
671676

0 commit comments

Comments
 (0)