diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/custodian/worker.rb | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/custodian/worker.rb b/lib/custodian/worker.rb index 79dab1e..936c44b 100644 --- a/lib/custodian/worker.rb +++ b/lib/custodian/worker.rb @@ -77,11 +77,8 @@ module Custodian # Instantiate the logger. @logger = Logger.new( logfile, "daily" ) - if ( ENV['REPEAT'] ) - @retry_count=ENV['REPEAT'].to_i - else - @retry_count=5 - end + # How many times to repeat a failing test + @retry_count=5 end |