pbrzoski / freshbooks-php-library

Automatically exported from code.google.com/p/freshbooks-php-library
0 stars 0 forks source link

Increase cURL timeout #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The current time-out is set to 4 seconds in HttpClient::_init(), but this
timeout can be too short if the FreshBooks site is under heavy load, or if
an auto-bill subscription is being set-up (it looks like FreshBooks
attempts to perform the credit card charge while handling the request).

I recommend increasing the time-out to a more standard 30 seconds, as this
is much less likely to fail.

Original issue reported on code.google.com by Guy.Padd...@gmail.com on 21 Apr 2010 at 12:29

GoogleCodeExporter commented 9 years ago

Original comment by xXBiohaz...@gmail.com on 14 Apr 2011 at 11:07

GoogleCodeExporter commented 9 years ago
I agree. I just got bit by this.  Super annoying. When creating an auto-bill 
subscription, it times out after 4 seconds easily.

Original comment by jor...@24hrassistant.com on 26 Sep 2011 at 5:19