Skip to content

Commit

Permalink
Merge branch '6.4' into 7.2
Browse files Browse the repository at this point in the history
* 6.4:
  Minor tweak
  Messenger: custom consumer name with systemd
  • Loading branch information
javiereguiluz committed Feb 3, 2025
2 parents 2af761d + 26b7fc0 commit 0f87d7d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions messenger.rst
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,8 @@ directory. For example, you can create a new ``messenger-worker.service`` file.
[Service]
ExecStart=php /path/to/your/app/bin/console messenger:consume async --time-limit=3600
# for Redis, set a custom consumer name for each instance
Environment="MESSENGER_CONSUMER_NAME=symfony-%n-%i"
Restart=always
RestartSec=30
Expand Down

0 comments on commit 0f87d7d

Please sign in to comment.