Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

read TIMEOUT from env first #109

Merged
merged 1 commit into from
Mar 28, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/openid/fetchers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down