1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-09-15 20:36:55 +00:00

Move internal options to other sections

This commit is contained in:
Unrud 2020-02-19 09:50:36 +01:00
parent 8e3465b5d4
commit 180e96b332
10 changed files with 36 additions and 37 deletions

View file

@ -125,7 +125,7 @@ class Storage(
return os.path.join(filesystem_folder, "collection-root")
def _fsync(self, fd):
if self.configuration.get("_internal", "filesystem_fsync"):
if self.configuration.get("storage", "_filesystem_fsync"):
pathutils.fsync(fd)
def _sync_directory(self, path):
@ -134,7 +134,7 @@ class Storage(
This only works on POSIX and does nothing on other systems.
"""
if not self.configuration.get("_internal", "filesystem_fsync"):
if not self.configuration.get("storage", "_filesystem_fsync"):
return
if os.name == "posix":
try: