Skip to content

Commit

Permalink
Fix SNAPSHOT_INACTIVE log message
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbertchen committed Jan 28, 2021
1 parent ecf5191 commit f83e4f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/duplicacy_snapshotmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

1 comment on commit f83e4f3

@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/incorrect-snapshot-inactive-message/4789/2

Please sign in to comment.