1
0
mirror of https://github.com/gilbertchen/duplicacy synced 2025-12-06 00:03:38 +00:00

Fix SNAPSHOT_INACTIVE log message

This commit is contained in:
Gilbert Chen
2021-01-28 00:06:49 -05:00
parent ecf5191400
commit f83e4f3c44

View File

@@ -147,7 +147,7 @@ func (collection *FossilCollection) IsDeletable(isStrongConsistent bool, ignored
// collection would have finsihed already, while a snapshot currently being created does not affect
// this fossil collection.
if lastSnapshotTime[hostID] > 0 && lastSnapshotTime[hostID] < time.Now().Unix()-maxSnapshotRunningTime*secondsInDay {
LOG_INFO("SNAPSHOT_INACTIVE", "Ignore snapshot %s whose last revision was created %d days ago",
LOG_INFO("SNAPSHOT_INACTIVE", "Ignore snapshot %s whose last revision was created more than %d days ago",
hostID, maxSnapshotRunningTime)
continue
}