Przeglądaj źródła

disable fsync during storage verification

Peter Bieringer 1 rok temu
rodzic
commit
4b1183ae00
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      radicale/storage/multifilesystem/verify.py

+ 2 - 0
radicale/storage/multifilesystem/verify.py

@@ -29,6 +29,8 @@ class StoragePartVerify(StoragePartDiscover, StorageBase):
 
     def verify(self) -> bool:
         item_errors = collection_errors = 0
+        logger.info("Disable fsync during storage verification")
+        self._filesystem_fsync = False
 
         @types.contextmanager
         def exception_cm(sane_path: str, href: Optional[str]