From 35d9e1e1f92883cc09f4f324e3c975a1b14d4820 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Sch=C3=A4dlich?= Date: Fri, 6 Mar 2020 17:39:51 +0100 Subject: [PATCH] Update round robin transport explaination As you can see in https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Notifier/Transport/RoundRobinTransport.php#L72 only the next scheduled transport is used to send the message and not all transports. --- notifier.rst | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/notifier.rst b/notifier.rst index 066f126d72b..1ec59b14838 100644 --- a/notifier.rst +++ b/notifier.rst @@ -256,8 +256,8 @@ transport: # Slack errored main: '%env(SLACK_DSN)% || %env(TELEGRAM_DSN)%' - # Always send notifications to both Slack and Telegram - all: '%env(SLACK_DSN)% && %env(TELEGRAM_DSN)%' + # Send notifications to the next scheduled transport calculated by round robin + roundrobin: '%env(SLACK_DSN)% && %env(TELEGRAM_DSN)%' .. code-block:: xml @@ -279,7 +279,8 @@ transport: %env(SLACK_DSN)% || %env(TELEGRAM_DSN)% - + %env(SLACK_DSN)% && %env(TELEGRAM_DSN)% @@ -297,8 +298,8 @@ transport: // Slack errored 'main' => '%env(SLACK_DSN)% || %env(TELEGRAM_DSN)%', - // Always send notifications to both Slack and Telegram - 'all' => '%env(SLACK_DSN)% && %env(TELEGRAM_DSN)%', + // Send notifications to the next scheduled transport calculated by round robin + 'roundrobin' => '%env(SLACK_DSN)% && %env(TELEGRAM_DSN)%', ], ], ]);