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
commitb5492e76ff7d8ab44d488d9bdb85278da0bcd440 (patch)
tree2b659847665e778a8366263a08fc62f07e35eb07 /lib/custodian
parent0079f94a1e9316aaf34c74c97cf15c1bea2bb3d5 (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) )