gujjwal00 / avnc

VNC Client for Android
GNU General Public License v3.0
680 stars 60 forks source link

Feature Requestl: configurable time to retry #252

Closed Fabrice-Bernes closed 2 days ago

Fabrice-Bernes commented 2 months ago

I have a server set to restart as soon as it crashes, so I know it's immediately accesible everytime I disconnect.

The current setting for reconnecting automatically takes arround 5 seconds to actually try again, so it's currently faster for me to press the button myself.

I don't know if having an instant re-try is too much of a niche case to be worth adding, but in any case, thanks in advance.

gujjwal00 commented 2 months ago

Its already on my todo list. Infact, last few AVNC versions will try to reconnect immediately if it got disconnected while app was in background.

gujjwal00 commented 3 days ago

AVNC will now try to reconnect after 1 second, 3 seconds, and then every 5 seconds.

Test APK: https://github.com/gujjwal00/avnc/actions/runs/11985836957/artifacts/2227725485

Fabrice-Bernes commented 2 days ago

I tried that test APK, and it works as expected. I like this solution, Thanks.