chargify / chargify_api_ares

A Chargify API wrapper for Ruby using ActiveResource
http://chargify.com
MIT License
161 stars 95 forks source link

Getting timeouts #11

Closed matthewford closed 12 years ago

matthewford commented 13 years ago

this could be due to the charify api not the gem, but maybe increasing the timeout in here would help. Thanks

idris commented 13 years ago

I believe you can configure the timeout in your Chargify::Configure block, like so:

Chargify::Configure do |c|
  c.timeout = 300 # 300 seconds = 5 minutes
end
shayfrendt commented 12 years ago

Yup, you can set the timeout the way @idris mentions above: https://github.com/grasshopperlabs/chargify_api_ares/blob/a154bde8bd070cc15a7044fec171dcffa3abb450/lib/chargify_api_ares/config.rb#L10

Please open a ticket at http://help.chargify.com (or email support@chargify.com) if you're seeing issues with the Chargify API response times.