theronrr

Datastreamurl Response Timeout

Recommended Posts

What is the default timeout for the dataStreamURL request for date?

Is there a way of specifling the maximum time to wait for an response from the data source in FusionCharts?

I have seen timeout occurs due to server loads

Thank you

Share this post


Link to post
Share on other sites

This is also of interest to us...if this is not possible currently, please consider this as a future feature. Heavily loaded servers sometimes can timeout, and the behavior of fusioncharts in this context is definitely not obvious to the user.

Share this post


Link to post
Share on other sites

Hi,

 

The timeout is actually decided by Flash Player in sync with the browser. We do not enforce a value of our own.

 

Can you add such an enforcement parameter, please, along with a javascript event fired when the timeout threshold is exceeded? Currently, if a server is not responding, FusionCharts appears to spin indefinitely, then eventually show the same chart that had been populated on the previous request. Other parts of the page which are depending on FusionCharts events to fire are also never triggered, so dependent parts of the page also appear to fail. At the very least, FusionCharts should be throwing a DataLoadError when a dataURL request times out, but a more specific error would be more helpful.

 

The current situation can be frustrating to our users, and, while FusionCharts is not responsible for the server timing out, FusionCharts really needs a way to recover gracefully from such a situation.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now