bug #35408 [Notifier] Fix infinite loop on round robin transport (alirezamirsepassi)

This PR was merged into the 5.1-dev branch.

Discussion
----------

[Notifier] Fix infinite loop on round robin transport

| Q             | A
| ------------- | ---
| Branch?       | master <!-- see below -->
| Bug fix?      | yes
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       | - <!-- prefix each issue number with "Fix #", if any -->
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->

Commits
-------

c16ee4a894 [Notifier] Fix infinite loop on round robin transport
This commit is contained in:
Fabien Potencier 2020-01-30 16:20:45 +01:00
commit a916c618e1

View File

@ -88,6 +88,7 @@ class RoundRobinTransport implements TransportInterface
$transport = $this->transports[$cursor];
if (!$transport->supports($message)) {
$cursor = $this->moveCursor($cursor);
continue;
}