The default timeout_limit for the API client is documented to be 10 seconds, but in actuality this value is set to 1200 seconds = 20 minutes in every single API endpoint. This is an absurd default that ended up bottlenecking our clients.
Our dashboards show that P99 duration is typically on the order of 100ms for most requests, so the client should choose a more reasonable default of 10s (as documented) or shorter.
The default
timeout_limitfor the API client is documented to be 10 seconds, but in actuality this value is set to 1200 seconds = 20 minutes in every single API endpoint. This is an absurd default that ended up bottlenecking our clients.Our dashboards show that P99 duration is typically on the order of 100ms for most requests, so the client should choose a more reasonable default of 10s (as documented) or shorter.