From d6154cf7f5530b5e29c4a3b6fb4cdd664c763ac3 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Tue, 11 Aug 2015 16:18:01 +0300 Subject: 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. --- bin/byteback-backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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, -- cgit v1.2.1