Skip to content

added the reconnect timeout#2026

Open
Ankit8969 wants to merge 2 commits intonovnc:masterfrom
Ankit8969:reconnect_timeout
Open

added the reconnect timeout#2026
Ankit8969 wants to merge 2 commits intonovnc:masterfrom
Ankit8969:reconnect_timeout

Conversation

@Ankit8969
Copy link

This update introduces a maximum reconnect timeout for the VNC client. Currently, when the VNC client attempts to reconnect, it may continue retrying indefinitely if the connection keeps failing, which is not ideal.

With this change, we add a new configuration key, reconnect_max_time, in default.json. This setting allows us to define a maximum duration for reconnection attempts. Once the specified time limit is reached, the client will stop trying to reconnect, preventing unnecessary retries and improving overall stability.

@Ankit8969
Copy link
Author

@samhed, please check this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant