fix(content): stabilize indexing progress
This commit is contained in:
1 parent
0a930a4f86
commit
32a5868894
11 files changed
+151
-39
No files matched your search
@@ -221,6 +221,7 @@ fn acquire_lock(profile_dir: &Path) -> Result<ConfigSyncLock, ConfigSyncError> {
|
||||
.read(true)
|
||||
.write(true)
|
||||
.create(true)
|
||||
.truncate(false)
|
||||
.open(path)?;
|
||||
file.lock()?;
|
||||
Ok(ConfigSyncLock { file })
|
||||
|
||||
Reference in new issue
Block a user