mirror of
https://github.com/jkl1337/duplicacy.git
synced 2026-01-06 21:54:38 -06:00
Merge pull request #191 from jt70471/regex-patch-2
store compiled regex patterns for performance optimization
This commit is contained in:
@@ -710,6 +710,8 @@ func restoreRepository(context *cli.Context) {
|
||||
|
||||
}
|
||||
|
||||
duplicacy.LOG_DEBUG("REGEX_DEBUG", "There are %d compiled regular expressions stored", len(duplicacy.RegexMap))
|
||||
|
||||
storage.SetRateLimits(context.Int("limit-rate"), 0)
|
||||
backupManager := duplicacy.CreateBackupManager(preference.SnapshotID, storage, repository, password)
|
||||
duplicacy.SavePassword(*preference, "password", password)
|
||||
|
||||
Reference in New Issue
Block a user