]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
Add mutex on datastore I/O operations 1570/head
authorArthurHoaro <arthur@hoa.ro>
Sat, 26 Sep 2020 12:18:01 +0000 (14:18 +0200)
committerArthurHoaro <arthur@hoa.ro>
Tue, 13 Oct 2020 10:38:19 +0000 (12:38 +0200)
commitfd1ddad98df45bc3c18be7980c1cbe68ce6b219c
treee4017d3c979604f40e78cdc305f0ab191aedd4b9
parent458b6b9918ec27154dd45416947bb93bedb97109
Add mutex on datastore I/O operations

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

Fixes #1132
26 files changed:
application/api/ApiMiddleware.php
application/bookmark/BookmarkFileService.php
application/bookmark/BookmarkIO.php
application/bookmark/BookmarkServiceInterface.php
application/container/ContainerBuilder.php
composer.json
composer.lock
init.php
tests/api/controllers/info/InfoTest.php
tests/api/controllers/links/DeleteLinkTest.php
tests/api/controllers/links/GetLinkIdTest.php
tests/api/controllers/links/GetLinksTest.php
tests/api/controllers/links/PostLinkTest.php
tests/api/controllers/links/PutLinkTest.php
tests/api/controllers/tags/DeleteTagTest.php
tests/api/controllers/tags/GetTagNameTest.php
tests/api/controllers/tags/GetTagsTest.php
tests/api/controllers/tags/PutTagTest.php
tests/bookmark/BookmarkFileServiceTest.php
tests/bookmark/BookmarkFilterTest.php
tests/bookmark/BookmarkInitializerTest.php
tests/bootstrap.php
tests/feed/FeedBuilderTest.php
tests/netscape/BookmarkExportTest.php
tests/netscape/BookmarkImportTest.php
tests/updater/UpdaterTest.php