summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-08-11 16:18:01 +0300
committerSteve Kemp <steve@steve.org.uk>2015-08-11 16:18:01 +0300
commitd6154cf7f5530b5e29c4a3b6fb4cdd664c763ac3 (patch)
treec67ba22e4231453a6c2545f311e1d8edbdecd4b6 /bin
parent7811efcc2983adeedf6e37491d2dc6d22e45b6ec (diff)
Drop the I/O timeout down to three hours.
At the moment we kill the rsync if there is no I/O for the given period (6 hours previously, 3 after this commit lands) and then retry the rsync connection up to three times. This meant that a backup could take no more than 3x6 = 18 hours but that was too long. Now we'll be 3x2 = 6 hours and that should be sufficient that transient failures are handled, but never-gonna-complete cases fail in a timely fashion.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/byteback-backup2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/byteback-backup b/bin/byteback-backup
index 55511c2..bb9b721 100755
--- a/bin/byteback-backup
+++ b/bin/byteback-backup
@@ -40,7 +40,7 @@ opts = Trollop.options do
opt :io_timeout, 'Number of seconds to allow I/O timeout for',
:type => :integer,
- :default => 21600
+ :default => 10800
opt :retry_delay, 'Number of seconds between retries after an error',
:type => :integer,