indrora / Atomic

Atomic: an IRC client from the ashes of yaaic
https://indrora.github.io/Atomic/
GNU General Public License v3.0
123 stars 29 forks source link

Set shorter reconnect intervals #13

Closed qwertfisch closed 10 years ago

qwertfisch commented 10 years ago

The possible interface for trying to automatically reconnect are 1, 5, 10, 15, 20 and 30 minutes. This seems a little bit useless, because for flaky connections (I am driving train) there is often no connection but 20 seconds later it is. In such a situation it’s not practicable waiting a full minute or – if the connection returns e.g. after 61 seconds – wait another minute without the chance to manually reconnect.

Oh yes, I could close the connection, then manually reconnect. But then the history is gone. :(

I would like to see setting the interval myself, maybe in 10-second-steps? Or provide less huge distances, e.g. 15, 30, 60, 120 seconds.

indrora commented 10 years ago

Internal TODO actually has a "Force reconnect on network loss" (e.g. Lost 3G signal), which would alleviate the problem for traveling.

qwertfisch commented 10 years ago

I hope so, but IMO the preset intervals are also way too large. 30 minutes, what’s the point in this?

indrora commented 10 years ago

Transient reconnection and reconnection on loss & recovery is here.