Sha256: f93d3bbede9417818ce2cd5fae8c7f405f021e266fd1276837439099f2e921bf

Contents?: true

Size: 416 Bytes

Versions: 66

Compression:

Stored size: 416 Bytes

Contents

# http://trac.openidenabled.com/trac/ticket/156
module OpenID
  @@timeout_threshold = 20

  def self.timeout_threshold
    @@timeout_threshold
  end

  def self.timeout_threshold=(value)
    @@timeout_threshold = value
  end

  class StandardFetcher
    def make_http(uri)
      http = @proxy.new(uri.host, uri.port)
      http.read_timeout = http.open_timeout = OpenID.timeout_threshold
      http
    end
  end
end

Version data entries

66 entries across 66 versions & 11 rubygems

Version Path
redmine_extensions-0.0.39 spec/redmine/lib/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb
redmine_extensions-0.0.38 spec/redmine/lib/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb
redmine_extensions-0.0.37 spec/redmine/lib/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb
redmine_extensions-0.1.11 spec/redmine/lib/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb
redmine_extensions-0.1.10 spec/redmine/lib/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb
redmine_extensions-0.0.36 spec/redmine/lib/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb
redmine_extensions-0.0.34 spec/redmine/lib/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb
redmine_extensions-0.1.09 spec/redmine/lib/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb
redmine_extensions-0.1.07 spec/redmine/lib/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb
redmine_extensions-0.1.06 spec/redmine/lib/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb
redmine_extensions-0.1.05 spec/redmine/lib/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb
redmine_extensions-0.1.04 spec/redmine/lib/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb
redmine_extensions-0.1.03 spec/redmine/lib/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb
redmine_extensions-0.0.33 spec/redmine/lib/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb
redmine_extensions-0.1.02 spec/redmine/lib/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb
redmine_extensions-0.1.01 spec/redmine/lib/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb
redmine_extensions-0.0.29 spec/redmine/lib/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb
redmine_extensions-0.0.28 spec/redmine/lib/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb
redmine_extensions-0.0.27 spec/redmine/lib/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb
redmine_extensions-0.0.24 spec/redmine/lib/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb