don't delete lock file

This commit is contained in:
Aiden McClelland
2021-02-01 17:28:51 -07:00
committed by Aiden McClelland
parent 58468dd53f
commit 3d4930acb4

View File

@@ -156,10 +156,6 @@ impl PersistenceFile {
.await
.with_context(|e| format!("{}.lock: {}", path.path().display(), e))
.with_code(crate::error::FILESYSTEM_ERROR)?;
tokio::fs::remove_file(format!("{}.lock", path.path().display()))
.await
.with_context(|e| format!("{}.lock: {}", path.path().display(), e))
.with_code(crate::error::FILESYSTEM_ERROR)?;
}
Ok(())