Closed hamann closed 3 years ago
I think I fixed the issue in master, can you try @hamann ?
@matehat You did, thanks a lot! 🎉
@matehat I still get this issue. If my phoenix server is stopped, the client keeps on reconnecting every millisecond if I don't pass any value to reconnectDelays. If I pass a list of Durations, only the first duration is taken and it keeps on reconnecting with the same interval instead of increasing as per the list. On flutter 2.2 and latest version of the package. I thought this was an issue with riverpod providers, but I can reproduce it with initializing the socket connection directly in the main method itself or as a global variable imported to join a channel.
@akashvibhute can you reopen a new issue and report stacktraces and such?
Yes, I will create new issue with logs.
Follow-up to #5
When the backend stops, a reconnect occurs every few milliseconds until backend is up again.