Skip to content

Commit

Permalink
Initialize startTime correctly in CreateChunkOperator
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbertchen committed Jun 10, 2022
1 parent 0d8a37f commit fc2386f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/duplicacy_chunkoperator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down

1 comment on commit fc2386f

@gilbertchen
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit has been mentioned on Duplicacy Forum. There might be relevant details there:

https://forum.duplicacy.com/t/restore-stats-look-weird/6431/4

Please sign in to comment.