Ver código fonte

disable fsync during storage verification

Peter Bieringer 1 ano atrás
pai
commit
4b1183ae00
1 arquivos alterados com 2 adições e 0 exclusões
  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]