Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c69676a

Browse filesBrowse files
committed
Merge branch '7.2' into 7.3
* 7.2: Minor tweak Messenger: custom consumer name with systemd
2 parents 1f9e998 + 0f87d7d commit c69676a
Copy full SHA for c69676a

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎messenger.rst

Copy file name to clipboardExpand all lines: messenger.rst
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -880,6 +880,8 @@ directory. For example, you can create a new ``messenger-worker.service`` file.
880880
881881
[Service]
882882
ExecStart=php /path/to/your/app/bin/console messenger:consume async --time-limit=3600
883+
# for Redis, set a custom consumer name for each instance
884+
Environment="MESSENGER_CONSUMER_NAME=symfony-%n-%i"
883885
Restart=always
884886
RestartSec=30
885887

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.