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 0f87d7d

Browse filesBrowse files
committed
Merge branch '6.4' into 7.2
* 6.4: Minor tweak Messenger: custom consumer name with systemd
2 parents 2af761d + 26b7fc0 commit 0f87d7d
Copy full SHA for 0f87d7d

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Open diff view settings
Collapse file

‎messenger.rst‎

Copy file name to clipboardExpand all lines: messenger.rst
+2Lines changed: 2 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -876,6 +876,8 @@ directory. For example, you can create a new ``messenger-worker.service`` file.
876876
877877
[Service]
878878
ExecStart=php /path/to/your/app/bin/console messenger:consume async --time-limit=3600
879+
# for Redis, set a custom consumer name for each instance
880+
Environment="MESSENGER_CONSUMER_NAME=symfony-%n-%i"
879881
Restart=always
880882
RestartSec=30
881883

0 commit comments

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