lib/nsisam/client.rb in nsisam-0.7.6 vs lib/nsisam/client.rb in nsisam-0.7.7

- old
+ new

@@ -188,10 +188,10 @@ request end def execute_request(request) begin - response = Net::HTTP.start @host, @port do |http| + response = Net::HTTP.start @host, @port, :read_timeout => 60*60*30, :open_timeout => 60*60*30 do |http| http.request(request) end response rescue Errno::ECONNREFUSED => e raise NSISam::Errors::Client::ConnectionRefusedError