diff options
| author | Steve Kemp <steve@steve.org.uk> | 2012-11-20 14:05:24 +0000 | 
|---|---|---|
| committer | Steve Kemp <steve@steve.org.uk> | 2012-11-20 14:05:24 +0000 | 
| commit | 7ee562d3272afae4239f083fd7b8e3058436b732 (patch) | |
| tree | 2b659847665e778a8366263a08fc62f07e35eb07 /lib | |
| parent | c4eb4b99bfd4f8f658fdd28d066e3fe384a5de96 (diff) | |
  Repeat 5 times with timeout of 60 seconds.  To avoid flaps.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/custodian/parser.rb | 2 | 
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) )  | 
