-
-
Notifications
You must be signed in to change notification settings - Fork 961
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
Lock for updating po files #25
Comments
Closed
Also we should provide some feedback in the UI that the project is being updated. |
The feedback in UI is already there, the locking is still missing. I did a quick research on this and I think we should implement:
|
nijel
added a commit
that referenced
this issue
May 7, 2020
This avoids several race conditions when running concurrent updates. In case the lock can not be obtained, the update is scheduled in background and retried until the lock can be obtained. Fixes #25 Fixes WEBLATE-3RA Fixes WEBLATE-3JC Fixes WEBLATE-3QQ Fixes WEBLATE-3QH Fixes WEBLATE-3QG Fixes WEBLATE-3NP Fixes WEBLATE-3QD Fixes WEBLATE-3QC Fixes WEBLATE-3Q4 Fixes WEBLATE-3Q3 Fixes WEBLATE-3NM
Thank you for your report, the issue you have reported has just been fixed.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Once there is po scanning in progress, it might take some time. As the events for this might come in short intervals, it can quite easily happen that there more concurrent updates, basically doing same work multiple times. This should be avoided either by locking or by delegating such work to background process.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: