add comment to make intensions more clear

This commit is contained in:
Dietmar Maurer 2018-12-12 11:21:00 +01:00
parent ca9caffa23
commit 5ba6968922
1 changed files with 1 additions and 0 deletions

View File

@ -139,6 +139,7 @@ impl ChunkStore {
let mut lockfile_path = base.clone();
lockfile_path.push(".lock");
// make sure only one process/thread/task can use it
let lockfile = lock_file(lockfile_path, 10)?;
Ok(ChunkStore {