Selaa lähdekoodia

disable fsync during storage verification

Peter Bieringer 1 vuosi sitten
vanhempi
sitoutus
4b1183ae00
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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:
     def verify(self) -> bool:
         item_errors = collection_errors = 0
         item_errors = collection_errors = 0
+        logger.info("Disable fsync during storage verification")
+        self._filesystem_fsync = False
 
 
         @types.contextmanager
         @types.contextmanager
         def exception_cm(sane_path: str, href: Optional[str]
         def exception_cm(sane_path: str, href: Optional[str]