Skip to content

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

@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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy