Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Nek- opened this issue Sep 11, 2020 · 2 comments
Closed

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

Nek- opened this issue Sep 11, 2020 · 2 comments

Comments

@Nek-
Copy link
Contributor

Nek- commented Sep 11, 2020

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
@Nek- Nek- changed the title [Messenger] [Messenger] some doctrine transport options are not documented Sep 11, 2020
@carsonbot
Copy link
Collaborator

Thank you for this issue.
There has not been a lot of activity here for a while. Has this been resolved?

@Nek-
Copy link
Contributor Author

Nek- commented Sep 13, 2021

Yes

@Nek- Nek- closed this as completed Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants