diff options
author | Chris Wilson <chris+github@qwirx.com> | 2014-12-03 14:00:16 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2014-12-03 14:00:16 +0000 |
commit | 4fbcb015379a107a36763c1bed03b08aea64d310 (patch) | |
tree | a5b0d7b77211d7a4ae6f297c720b13a99c4fd943 /lib | |
parent | 5a8312b5066d9b538e0466417aebf6f10135d846 (diff) |
Allow users to configure the delay before retry on backup errors.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/backupclient/BackupDaemonConfigVerify.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/backupclient/BackupDaemonConfigVerify.cpp b/lib/backupclient/BackupDaemonConfigVerify.cpp index 8f8746b5..ffcb3403 100644 --- a/lib/backupclient/BackupDaemonConfigVerify.cpp +++ b/lib/backupclient/BackupDaemonConfigVerify.cpp @@ -11,6 +11,7 @@ #include "BackupDaemonConfigVerify.h" #include "Daemon.h" #include "BoxPortsAndFiles.h" +#include "BackupConstants.h" #include "MemLeakFindOn.h" @@ -68,6 +69,8 @@ static const ConfigurationVerifyKey verifyrootkeys[] = ConfigTest_Exists | ConfigTest_IsUint32), ConfigurationVerifyKey("UpdateStoreInterval", ConfigTest_Exists | ConfigTest_IsInt), + ConfigurationVerifyKey("BackupErrorDelay", + ConfigTest_Exists | ConfigTest_IsInt, BACKUP_ERROR_RETRY_SECONDS), ConfigurationVerifyKey("MinimumFileAge", ConfigTest_Exists | ConfigTest_IsInt), ConfigurationVerifyKey("MaxUploadWait", |