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

[Notifier] FailoverTransport does not always pick the first transport #40895

Copy link
Copy link
Closed
@ngrie

Description

@ngrie
Issue body actions

Symfony version(s) affected: >= 5.0

Description
Since the FailoverTransport extends the RoundRobinTransport where the next transport is randomly chosen, this behaviour also applies when configuring failover when sending chat or text messages. The expected behaviour would be: The first transport is always used unless sending fails.

How to reproduce
Configure failover transports as stated in the docs: https://symfony.com/doc/current/notifier.html#configure-to-use-failover-or-round-robin-transports

Possible Solution
Apply a similar fix as for the Mailer failover transport in #37611

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

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