Skip to content

[Messenger] some doctrine transport options are not documented #14221

Closed
@Nek-

Description

@Nek-

Options of the postgresql transport are not documented:

  • check_delayed_interval
  • get_notify_timeout

And the check_delayed_interval is important since this PR: symfony/symfony#36990 because it adds a delay of 1min before starting to process messages by default. We run into this "issue" and had hard times figuring out why it was like that.

I assume it should be documented somewhere in the middle of this:
https://symfony.com/doc/current/messenger.html#doctrine-transport

And since this issue may save lives, here is the configuration that makes it work like in Sf 5.0!

framework:
    messenger:
        transports:
            async:
                dsn: "%env(MESSENGER_TRANSPORT_DSN)%"
                options:
                    check_delayed_interval: 1000

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