Hi!
I’ve got a problem with users sitting on a really dodgy mobile connection. What happens a lot is that the scheduler.load() hangs while loading (the load indicator just keeps rolling and no events are displayed). My guess is that too much packet loss causes the TCP socket to die, i.e. not a Scheduler issue - BUT how do I circumvent this problem?
I can detect when it takes too long time to load by firing up a timer with window.setInterval and then have the scheduler.load() callback to kill it before it triggers a timeout. The problem is I don’t know how to stop or restart the scheduler.load() process. I’ve been experimenting with it and came to the following conclusions:
-
forcing the page to reload with window.location.reload() kind of works, except Scheduler throws up one or more alerts() on the screen before reloading, which requires user interaction.
-
calling scheduler.init() doesn’t stop the loading - not useful.
-
calling a new scheduler.load() doesn’t seem to work either.
Any advice from the masters?
Thanks