Is there a timeout limit when polling data to the API?

Yes, there is a 10 second timeout. If we don't receive a response within 10 seconds while polling your endpoints, the widget will timeout with the following message:

 

If your custom widget times out, we'd suggest:

  • Optimise the applications that Geckoboard polls so that the maximum timeout isn't reached. For example, some users have been able to resolve this by adjusting PHP Memcached and/or MySQL Cache.

 

  • Configure the widget to use the Push method. With the Push method, your application can "take its time" querying the data and making calculations and then whenever it's done, the payload can be built and pushed to Geckoboard. This way no matter how long it takes to query your data and build the payload, there is no timeout threshold.

 

 

Was this article helpful?
👍

Thank you for your feedback!