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 | 52558de736c5e1583c8a1d1a1ae502ef33ec06cc (patch) | |
tree | 8ad0222851f75a0ca773d8725230662b1da70f96 /lib/custodian/parser.rb | |
parent | 492b429d9708af46490ea9a0658ada26480813dd (diff) |
Timeout in 12 second.
Diffstat (limited to 'lib/custodian/parser.rb')
-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) ) |