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

[10.x] Add option to adjust database default lock timeout #47854

Merged
merged 3 commits into from
Jul 27, 2023

Conversation

joelharkes
Copy link
Contributor

@joelharkes joelharkes commented Jul 27, 2023

We use jobs to make unique notifications, delaying the job till end of the week to provide a weekly notification based on a certain event happening in the system.

Currently we are using database locks and noticed default the lock date is 1 day.

This PR makes this configurable, as most other cache lock systems there is no default timeout on the locks, i thought making it configurable, for us putting it to 1 week or 1 year would suffice.

Origin of 1 day expire

seems to have been there since the start of database locking: b78880a

hypotheses: Probably an afterthought that has never been cleaned up properly.

@joelharkes joelharkes changed the title [10.x] Add option to adjust default database lock timeout [10.x] Add option to adjust database default lock timeout Jul 27, 2023
@joelharkes
Copy link
Contributor Author

see the discussion #47852 i started to further understand the whole locking setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants