mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-10 18:40:53 +00:00
raise exception when locking the storage fails
Previously it was silently ignored, which is dangerous when multiple instances of Radicale are running. A configuration option to disable locking was added.
This commit is contained in:
parent
17d03be27b
commit
a18874fc59
3 changed files with 31 additions and 8 deletions
|
@ -139,6 +139,10 @@ INITIAL_CONFIG = OrderedDict([
|
|||
"value": "True",
|
||||
"help": "sync all changes to filesystem during requests",
|
||||
"type": bool}),
|
||||
("filesystem_locking", {
|
||||
"value": "True",
|
||||
"help": "lock the storage while accessing it",
|
||||
"type": bool}),
|
||||
("filesystem_close_lock_file", {
|
||||
"value": "False",
|
||||
"help": "close the lock file when no more clients are waiting",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue