Sha256: 385de33796d7a4f34a4cd42da9ffba3405a87ec5152899002083083ec219d37e

Contents?: true

Size: 206 Bytes

Versions: 11

Compression:

Stored size: 206 Bytes

Contents

require 'singleton'

module Luffa
  class Retry
    include Singleton

    def launch_retries
      @launch_retries ||= lambda {
        Luffa::Environment.travis_ci? ? 8 : 2
      }.call
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
luffa-2.1.0 lib/luffa/retry.rb
luffa-2.0.0 lib/luffa/retry.rb
luffa-1.1.0 lib/luffa/retry.rb
luffa-1.0.7 lib/luffa/retry.rb
luffa-1.0.6 lib/luffa/retry.rb
luffa-1.0.5 lib/luffa/retry.rb
luffa-1.0.4 lib/luffa/retry.rb
luffa-1.0.3 lib/luffa/retry.rb
luffa-1.0.2 lib/luffa/retry.rb
luffa-1.0.1 lib/luffa/retry.rb
luffa-1.0.0 lib/luffa/retry.rb