Skip to content

[Lock] Fix using fractional TTLs #61085

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
merged 2 commits into from
Jul 30, 2025
Merged

Conversation

manuelderuiter
Copy link
Contributor

Discussion

Solves issue #59938

Q A
Branch? 6.4
Bug fix? yes
New feature? no
Deprecations? no
Issues n/a
License MIT

When using the PostgreSQLDBALStore with Scheduler it will cast an invalid result. Scheduler generates a TTL as float and PostgreSQL expects an integer.

https://github.com/manuelderuiter/symfony_59938/actions/runs/16187766978
after the fix
https://github.com/manuelderuiter/symfony_59938/actions/runs/16187926234

@nicolas-grekas nicolas-grekas changed the title [Lock] Fixes issue with PostgreSQL when using fractional TTLs [Lock] Fix using fractional TTLs Jul 15, 2025
Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like PdoStore also needs to be patched

@nicolas-grekas
Copy link
Member

Thank you @manuelderuiter.

@nicolas-grekas nicolas-grekas merged commit 93ed8fe into symfony:6.4 Jul 30, 2025
10 of 11 checks passed
This was referenced Jul 31, 2025
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