How do I reconnect to MongoDB Atlas without having to wait 5 minutes?

Hi @rivars there is an exponential backoff associated with the sync-client attempting to reconnect which has a maximum of 5 minutes. This is because attempting to connect without a network is one of the more battery draining tasks an application can do. You can explicitly force a reconnect in user code by using the pause() and resume() APIs when you are back on the network -

3 Likes