summaryrefslogtreecommitdiff
path: root/lib/custodian
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-20 14:05:24 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-20 14:05:24 +0000
commit7ee562d3272afae4239f083fd7b8e3058436b732 (patch)
tree2b659847665e778a8366263a08fc62f07e35eb07 /lib/custodian
parentc4eb4b99bfd4f8f658fdd28d066e3fe384a5de96 (diff)
Repeat 5 times with timeout of 60 seconds. To avoid flaps.
Diffstat (limited to 'lib/custodian')
-rw-r--r--lib/custodian/parser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/parser.rb b/lib/custodian/parser.rb
index 045711d..ce6ad1e 100644
--- a/lib/custodian/parser.rb
+++ b/lib/custodian/parser.rb
@@ -59,7 +59,7 @@ class MonitorConfig
@MACROS = Hash.new()
@queue = Beanstalk::Pool.new(['127.0.0.1:11300'])
@file = filename
- @timeout = 15
+ @timeout = 60
raise ArgumentError, "Missing configuration file!" if ( @file.nil? )
raise ArgumentError, "File not found: #{@file}" unless ( File.exists?( @file) )