zaidakram / expedia

Expedia is a ruby wrapper for EAN (Expedia Affiliate Network)
http://zaidakram.github.io/expedia/
MIT License
48 stars 29 forks source link

Request Timeout #14

Closed shanys8 closed 9 years ago

shanys8 commented 9 years ago

We are working with Expedia API and sometimes we encountered service outage which causes slow clients. In order to catch them we implemented a timeout option. In our experience connection timeouts of minimum ~0.13 seconds and bandwidth timeouts of minimum ~2.2 seconds. The timeout is ignoring the booking action since the it might take longer then the other requests.