synac-chat / synac-legacy

Some IRC-like chat application that might become good one day
11 stars 1 forks source link

Reconnect once or exponential backoff? #14

Closed jD91mZM2 closed 6 years ago

Mnpn commented 6 years ago

Attempt to reconnect once before failing?

jD91mZM2 commented 6 years ago

Yes. Or alternatively randomly trying to reconnect. The problem is that the officially client currently blocks all input when doing that, so you can't cancel it until it timeouts after a few attempts.

ttofis commented 6 years ago

Hmm... tough question... Well, if you disconnect, try to reconnect the user once and if it fails, quit (not the program, just let him choose when to try to relog again).

Also show a message: "It seems your connection dropped. If you want to login.. " you get the idea..

jD91mZM2 commented 6 years ago

Yeah that's what its doing currently.

ttofis commented 6 years ago

Then my opinion is that it should stay that way. Vote?