customerio / customerio-ruby

A ruby client for the Customer.io event API.
https://customer.io/docs/api/
MIT License
65 stars 75 forks source link

Use a default timeout of 10 seconds #24

Closed stayhero closed 9 years ago

stayhero commented 9 years ago

I suggest using a sane default timeout when talking to the REST API.

stayhero commented 9 years ago

See issue #18

isabanin commented 9 years ago

Lack of proper timeouts caused major issues for us today when Data Collection API went down.

stayhero commented 9 years ago

@isabanin it seems customer.io is not too much interested in merging/working on/discussing pull requests. I mean, it's a one-liner and using this gem without an http timeout is basically screaming for problems in production (even using job queues like sidekiq or resque).

:-p