-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
DistributedLockingWriteLockDefaultTimeout can not be higher than 20 seconds #18143
Comments
Hi there @nikolaj-kaplan! Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better. We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.
We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions. Thanks, from your friendly Umbraco GitHub bot 🤖 🙂 |
Thanks for reaching out, and not least for the excellent investigation work 👏 I don't see why we shouldn't allow for larger timeout values. We have a 60 second default for read lock timeouts ( I'll take this one to the team and get back with an answer 👍 |
Quick follow-up here. We'll remove the hard upper limit entirely so it can be configured freely. PR incoming for V15.3 soon 👍 |
The limit has been removed via #18260 and will be released in 15.3. |
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
15.0.0
Bug summary
We are getting timeouts at high loads in our Umbraco solution.
I adjusted the DistributedLockingWriteLockDefaultTimeout to 20 seconds and saw significant improvements.
I would like to set it even higher, but for some reason this is not possible.
I would much rather wait 30 or 60 seconds and get a success than I want to get errors in the log and in the backoffice UI.
Is there any good arguments for not allowing higher timeout than 20 seconds?
This is the code that would need to be adjusted to allow a timeout higher than 20 sec.
Specifics
No response
Steps to reproduce
Set the timeout in appsettings.json to 30 seconds
Expected result / actual result
Desired result: no error when Umbraco starts up.
Actual result: appsettings validation fails at Umbraco startup.
The text was updated successfully, but these errors were encountered: