I am trying to use ruby rest-client to upload a large number of images to a site that I'm writing. My code looks like:
RestClient.post url, :timeout => 90000000, :open_timeout => 90000000, :file_param => file_obj
However, I am getting this error:
RestClient::RequestTimeout: Request Timeout
from /Library/Ruby/Gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:174:in `transmit'
from /Library/Ruby/
But when I look at the server log
Completed in 61493ms (View: 2, DB: 1) | 201 Created
So there doesn't appear to be any reason why this is timing out. Anyone have any idea if there is a timeout param I am not correctly setting?
Thanks