diff options
| author | Steve Kemp <steve@steve.org.uk> | 2012-11-30 11:19:03 +0000 | 
|---|---|---|
| committer | Steve Kemp <steve@steve.org.uk> | 2012-11-30 11:19:03 +0000 | 
| commit | 9360105b6a9663809fdd86266fa8127b3ef88f3a (patch) | |
| tree | 36f06d344e6a8d64082929c2ed6d69b3c628753e | |
| parent | 5488b46989d973e2bf6bd6a41d4c1e9a9ef9bc1e (diff) | |
  Hard-wire repeat for the moment.  It'll come from the configuration
  file shortly.
| -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 | 
