Our powerful JS Calendar component


Post by dwilliams »

Hello,

Is there a way to increase the timeout length on loading the calendar data from an API? We have use cases where individuals have minimal badwidth over a cellular connection.

Regards,

Dan


Post by mats »

We don't control the timeout, it's up to each browser to cut off the request. How long are your requests running for?

Some details in this thread: https://dmitripavlutin.com/timeout-fetch-request/

By default a fetch() request timeouts at the time indicated by the browser. In Chrome a network request timeouts at 300 seconds, while in Firefox at 90 seconds.


Post by dwilliams »

Hmmm, our request seems to get a data load error if the request takes more than 6 or 7 seconds. I'll see if I can reproduce and catch the error.

Dan


Post by mats »

Sounds good, if we can get a test case + error message we can look into it.


Post Reply