summaryrefslogtreecommitdiff
path: root/lib/backupstore
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2014-08-24 20:31:46 +0000
committerChris Wilson <chris+github@qwirx.com>2014-08-24 20:31:46 +0000
commit1f1d8355ad73eb9c0ab9aaeb069a21aecee78d6f (patch)
tree18894ab96968faa022dbd156c66ac1fb0df2e2ba /lib/backupstore
parent6f05cd831394335c32c6eebc4f4da7454302bbc9 (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')
-rw-r--r--lib/backupstore/BackupConstants.h3
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