lib/invoker/parsers/config.rb in invoker-1.5.6 vs lib/invoker/parsers/config.rb in invoker-1.5.7

- old
+ new

@@ -131,13 +131,13 @@ else pconfig['index'] = 0 end sleep_duration = section['sleep'].to_i - if sleep_duration > 0 + if sleep_duration >= 0 pconfig['sleep_duration'] = sleep_duration else - pconfig['sleep_duration'] = 1 + pconfig['sleep_duration'] = 0 end OpenStruct.new(pconfig) end