diff options
author | Chris Wilson <chris+github@qwirx.com> | 2014-08-24 20:31:46 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2014-08-24 20:31:46 +0000 |
commit | 1f1d8355ad73eb9c0ab9aaeb069a21aecee78d6f (patch) | |
tree | 18894ab96968faa022dbd156c66ac1fb0df2e2ba /lib/backupstore/BackupConstants.h | |
parent | 6f05cd831394335c32c6eebc4f4da7454302bbc9 (diff) |
Fix timing issue with bbackupd test for recovery after error.
For some reason the timing changed and the test was no longer waiting for the
same length of time as bbackupd, causing it to fail.
Merged back changes from the test refactor branch to reduce diffs.
Diffstat (limited to 'lib/backupstore/BackupConstants.h')
-rw-r--r-- | lib/backupstore/BackupConstants.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/backupstore/BackupConstants.h b/lib/backupstore/BackupConstants.h index 19d06a15..195dc621 100644 --- a/lib/backupstore/BackupConstants.h +++ b/lib/backupstore/BackupConstants.h @@ -13,6 +13,9 @@ // 15 minutes to timeout (milliseconds) #define BACKUP_STORE_TIMEOUT (15*60*1000) +// Time to wait for retry after a backup error +#define BACKUP_ERROR_RETRY_SECONDS 100 + // Should the store daemon convert files to Raid immediately? #define BACKUP_STORE_CONVERT_TO_RAID_IMMEDIATELY true |