Skip to content

Commit dd0c959

Browse files
committed
Merge branch '5.0'
* 5.0: Update round robin transport explaination
2 parents 51a7e11 + e0d59cd commit dd0c959

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

notifier.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,8 @@ transport:
268268
# Slack errored
269269
main: '%env(SLACK_DSN)% || %env(TELEGRAM_DSN)%'
270270
271-
# Always send notifications to both Slack and Telegram
272-
all: '%env(SLACK_DSN)% && %env(TELEGRAM_DSN)%'
271+
# Send notifications to the next scheduled transport calculated by round robin
272+
roundrobin: '%env(SLACK_DSN)% && %env(TELEGRAM_DSN)%'
273273
274274
.. code-block:: xml
275275
@@ -291,7 +291,8 @@ transport:
291291
%env(SLACK_DSN)% || %env(TELEGRAM_DSN)%
292292
</framework:chatter-transport>
293293
294-
<!-- Always send notifications to both Slack and Telegram -->
294+
<!-- Send notifications to the next scheduled transport
295+
calculated by round robin -->
295296
<framework:chatter-transport name="slack">
296297
%env(SLACK_DSN)% && %env(TELEGRAM_DSN)%
297298
</framework:chatter-transport>
@@ -309,8 +310,8 @@ transport:
309310
// Slack errored
310311
'main' => '%env(SLACK_DSN)% || %env(TELEGRAM_DSN)%',
311312
312-
// Always send notifications to both Slack and Telegram
313-
'all' => '%env(SLACK_DSN)% && %env(TELEGRAM_DSN)%',
313+
// Send notifications to the next scheduled transport calculated by round robin
314+
'roundrobin' => '%env(SLACK_DSN)% && %env(TELEGRAM_DSN)%',
314315
],
315316
],
316317
]);

0 commit comments

Comments
 (0)