8000 minor #19100 [Messenger] Add mention of workers restarting with `supe… · symfony/symfony-docs@2ef7e5d · GitHub
[go: up one dir, main page]

Skip to content

Commit 2ef7e5d

Browse files
committed
minor #19100 [Messenger] Add mention of workers restarting with supervisor (alexandre-daubois)
This PR was merged into the 5.4 branch. Discussion ---------- [Messenger] Add mention of workers restarting with `supervisor` I think it may be a good thing to add this little line, so people doesn't think that calling `supervisorctl start` will update the worker code or whatsoever. I just came across a project where this confusion was made 🙂 Commits ------- 186885e [Messenger] Add mention of workers restarting with `supervisor`
2 parents 6fb8828 + 186885e commit 2ef7e5d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

messenger.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -726,6 +726,10 @@ Next, tell Supervisor to read your config and start your workers:
726726
727727
$ sudo supervisorctl start messenger-consume:*
728728
729+
# If you deploy an update of your code, don't forget to restart your workers
730+
# to run the new code
731+
$ sudo supervisorctl restart messenger-consume:*
732+
729733
See the `Supervisor docs`_ for more details.
730734

731735
Graceful Shutdown

0 commit comments

Comments
 (0)
0