Revert "Add a -max-list-rate option to backup to slow down the listing"

This reverts commit 67a3103467.
This commit is contained in:
Gilbert Chen
2020-09-22 22:08:43 -04:00
parent 67a3103467
commit 73ae3f809e
5 changed files with 12 additions and 31 deletions

View File

@@ -1396,7 +1396,7 @@ func (manager *SnapshotManager) Diff(top string, snapshotID string, revisions []
if len(revisions) <= 1 {
// Only scan the repository if filePath is not provided
if len(filePath) == 0 {
rightSnapshot, _, _, err = CreateSnapshotFromDirectory(snapshotID, top, nobackupFile, filtersFile, 0)
rightSnapshot, _, _, err = CreateSnapshotFromDirectory(snapshotID, top, nobackupFile, filtersFile)
if err != nil {
LOG_ERROR("SNAPSHOT_LIST", "Failed to list the directory %s: %v", top, err)
return false