]> git.mxchange.org Git - friendica.git/commit
Fix Locks
authorPhilipp Holzer <admin+github@philipp.info>
Sat, 17 Aug 2019 17:33:36 +0000 (19:33 +0200)
committerPhilipp Holzer <admin+github@philipp.info>
Sat, 17 Aug 2019 17:33:36 +0000 (19:33 +0200)
commitc803dcb6c5f808ac8f962e9bd5e631a91655cbc7
treef4ae98381e7a27a729801b208d8dfd7476c07364
parente8561b480b9971b19a6029860672e7cc0c8435b0
Fix Locks
- Wrong return of lock releasing with DBA provider
- It's not possible to maintain Semaphore locks, since they aren't accessible by other processes
Should solve https://github.com/friendica/friendica/issues/7298#issuecomment-521996540
src/Core/Lock/DatabaseLock.php
src/Core/Lock/SemaphoreLock.php
tests/src/Core/Lock/LockTest.php
tests/src/Core/Lock/SemaphoreLockTest.php