Faraz Samapoor
|
40d9349a2d
|
Refactors lib/private/Lock.
To improve code readability.
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
|
9 months ago |
Carl Schwan
|
fcae6a68c3
|
Cleanup lock related code
- Port to QueryBuilder
- Improve the doc a bit
- Add type hinting
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
2 years ago |
John Molakvoæ (skjnldsv)
|
215aef3cbd
|
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
3 years ago |
Christoph Wurst
|
cb057829f7
|
Update license headers for 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
4 years ago |
Christoph Wurst
|
14c996d982
|
Use elseif instead of else if
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
4 years ago |
Christoph Wurst
|
5bf3d1bb38
|
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
4 years ago |
Roeland Jago Douma
|
8edbfdb291
|
Made locking providers strict
* Added typehints
* Added return types
* Made strict
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
|
6 years ago |
Joas Schilling
|
0215b004da
|
Update with robin
|
8 years ago |
Joas Schilling
|
ba87db3fcc
|
Fix others
|
8 years ago |
Robin Appelman
|
9677681a37
|
free up memory when releasing the last shared lock
|
8 years ago |
Robin Appelman
|
49ad0fcfa9
|
optimize releaselock for memcache based locking backends
|
8 years ago |
Roeland Jago Douma
|
86e757d2b3
|
Move \OC\Lock to PSR-4
|
8 years ago |
Robin Appelman
|
cdedda99e4
|
Make lock ttl configurable
|
8 years ago |
Thomas Müller
|
682821c71e
|
Happy new year!
|
8 years ago |
Robin Appelman
|
693a3c353e
|
ttl for memcache locking backends that support it
|
8 years ago |
Robin Appelman
|
f39c73c79c
|
add phpdoc
|
8 years ago |
Robin Appelman
|
cc7bd53d17
|
Keep shared locks until the end of the request so we can reuse them
|
8 years ago |
Robin Appelman
|
9729e67e3d
|
more phpdoc
|
9 years ago |
Robin Appelman
|
cd205249e4
|
more phpdoc
|
9 years ago |
Robin Appelman
|
96a9d171b3
|
Fix db schema
|
9 years ago |
Robin Appelman
|
a8552a1b24
|
split off keeping track of acquire locks
|
9 years ago |
Morris Jobke
|
f63915d0c8
|
update license headers and authors
|
9 years ago |
Robin Appelman
|
520a741876
|
clear memcache keys in locking
|
9 years ago |
Thomas Müller
|
2104c2ffdd
|
Fixing undefined index 'foo'
|
9 years ago |
Robin Appelman
|
ce04cf6610
|
shared lock around hooks
|
9 years ago |
Robin Appelman
|
a1372b2fb5
|
add method to atomically change between shared and exclusive lock
|
9 years ago |
Robin Appelman
|
006eaa84aa
|
dont release shared lock if we dont have any
|
9 years ago |
Robin Appelman
|
e08423f956
|
release all locks on shutdown
|
9 years ago |
Robin Appelman
|
ba7d221cff
|
allow getting the path from the lockedexception
|
9 years ago |
Robin Appelman
|
96f9573a4b
|
add memcache based shared/exclusive locking
|
9 years ago |