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

[Messenger] the 'use_notify' option is on the factory, not on the postgres connection #53960

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

Merged

Conversation

dbu
Copy link
Contributor

@dbu dbu commented Feb 15, 2024

Q A
Branch? 5.4
Bug fix? yes (documentation bug)
New feature? no
Deprecations? yes/no i think not - or do we consider removing the unused use_notify from PostgreSqlConnection::DEFAULT_OPTIONS a BC break? then we would have to leave it there but comment that it is unused
Issues -
License MIT

I was debugging messenger not seeing updates and stumbled over this. I guess things changed before release or had been different in older versions.

(side note: listen/notify does not work for me when using the symfony skeleton setup, so i had to disable the mechanism. i assume it is cheaper to try to install the listener on each get than querying the messages table? a little bit of documentation as to why the functionality is used would not hurt)

@dbu
Copy link
Contributor Author

dbu commented Feb 15, 2024

failures seem unrelated to my changes.

@carsonbot carsonbot changed the title the 'use_notify' option is on the factory, not on the postgres connection [Messenger] the 'use_notify' option is on the factory, not on the postgres connection Feb 19, 2024
@nicolas-grekas
Copy link
Member

Thank you @dbu.

@nicolas-grekas nicolas-grekas merged commit 208f6d9 into symfony:5.4 Feb 22, 2024
This was referenced Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

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