Mercurial > hg > soundsoftware-site
view .svn/pristine/51/51027398ce6a8d3706af5e108b6e6b3b8526c6c3.svn-base @ 1459:cf78a7ade302 luisf
Merge from branch "bug_794"
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Mon, 11 Nov 2013 18:25:50 +0000 |
parents | cbb26bc654de |
children |
line wrap: on
line source
# 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