We noticed that if the chat capability has not been used for some days, when the user first logs in there are great delays for the online-offline status and the calls are more error prone (crashes happen, there are 3 users in calls when there should only be one as the sender is displayed twice etc). But then, throughout the day, (so minutes to hours later) all is fine - the online-offline status changes in real-time, the calls are performing as expected etc. It almost feels like we are warming up an engine.
Is there something that we can do to prevent this behavior from happening - would it be a good idea to create “reverse heart-beat” app in which we just make a call with a test user every n hours or so?
If you have any suggestions for our situation they are greatly appreciated.