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

Add mutex on datastore I/O operations #1570

Merged
merged 1 commit into from
Oct 13, 2020

Conversation

ArthurHoaro
Copy link
Member

@ArthurHoaro ArthurHoaro commented Sep 26, 2020

To make sure that there is no concurrent operation on the datastore file.

It uses the library https://github.com/php-lock/lock with FlockMutex which relies on the filesystem to perform its lock.

Fixes #1132

To make sure that there is no concurrent operation on the datastore file.

Fixes shaarli#1132
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.

API bug when posting two links in parallel
1 participant