diff --git a/lib/openid/fetchers.rb b/lib/openid/fetchers.rb index db5443f0..4d663b49 100644 --- a/lib/openid/fetchers.rb +++ b/lib/openid/fetchers.rb @@ -117,7 +117,7 @@ class StandardFetcher USER_AGENT = "ruby-openid/#{OpenID::VERSION} (#{RUBY_PLATFORM})" REDIRECT_LIMIT = 5 - TIMEOUT = 60 + TIMEOUT = ENV['RUBY_OPENID_FETCHER_TIMEOUT'] || 60 attr_accessor :ca_file attr_accessor :timeout