diff options
| author | Steve Kemp <steve@steve.org.uk> | 2012-11-15 10:42:44 +0000 | 
|---|---|---|
| committer | Steve Kemp <steve@steve.org.uk> | 2012-11-15 10:42:44 +0000 | 
| commit | 6f93dcedf743cf83f5494837fbdcd40277e3f6b8 (patch) | |
| tree | 8ad0222851f75a0ca773d8725230662b1da70f96 /lib/custodian | |
| parent | ed13289034add176541498ecaaf98ceec2418db2 (diff) | |
  Timeout in 12 second.
Diffstat (limited to 'lib/custodian')
| -rwxr-xr-x | 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 5556da0..29c69f6 100755 --- a/lib/custodian/parser.rb +++ b/lib/custodian/parser.rb @@ -60,7 +60,7 @@ class MonitorConfig      @MACROS  = Hash.new()      @queue   = Beanstalk::Pool.new(['127.0.0.1:11300'])      @file    = filename -    @timeout = 10 +    @timeout = 12      raise ArgumentError, "Missing configuration file!" if ( @file.nil? )      raise ArgumentError, "File not found: #{@file}" unless ( File.exists?( @file) ) | 
