You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've spent an hour trying to debug a non-existing but today between your lib and a stomp server. To prevent other from doing so here is what is going on.
Problem
I have a (15,15) heartbeat set in my app. When my tab stays inactive for some time (+-5min) the Stomp connection is eventually closed for no reasons.
Reason
HeartBeats stops working after some times
In chrome (and all Chromium forks), when a tab respect some criterias it is considered inactive and all his timers are throttled.
The throttling used to be 1 action per second, but recently, with chrome 88 and above a stricter set of criterias also applies, and if they match the throttle is now one action per minute.
It's not something that can be fixed IMO, but i can be handy to have this warning in the project documentation.
Rominet13, aerovulpe, arjunasuresh3, planschmu, awoc and 5 moremstawick