From 7ee562d3272afae4239f083fd7b8e3058436b732 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Tue, 20 Nov 2012 14:05:24 +0000 Subject: Repeat 5 times with timeout of 60 seconds. To avoid flaps. --- lib/custodian/parser.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/custodian') 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) ) -- cgit v1.2.1