From fc2386f9ccd7cf7af7829c29f0a409e4b7527566 Mon Sep 17 00:00:00 2001 From: Gilbert Chen Date: Thu, 9 Jun 2022 23:28:29 -0400 Subject: [PATCH] Initialize startTime correctly in CreateChunkOperator --- src/duplicacy_chunkoperator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/duplicacy_chunkoperator.go b/src/duplicacy_chunkoperator.go index 09b7919..6c71f42 100644 --- a/src/duplicacy_chunkoperator.go +++ b/src/duplicacy_chunkoperator.go @@ -74,7 +74,7 @@ func CreateChunkOperator(config *Config, storage Storage, snapshotCache *FileSto stopChannel: make(chan bool), collectionLock: &sync.Mutex{}, - + startTime: time.Now().Unix(), allowFailures: allowFailures, }