Creates an option to ignore reconnection relays that should be used when the network settings change.

This commit is contained in:
Vitor Pamplona
2025-10-03 18:03:04 -04:00
parent 26462a150e
commit cf8c8e47a2
6 changed files with 47 additions and 34 deletions
@@ -95,7 +95,10 @@ class RelayProxyClientConnector(
client.connect()
} else {
Log.d("ManageRelayServices", "Relay Services have changed, reconnecting relays that need to")
client.reconnect(true)
client.reconnect(
onlyIfChanged = true,
ignoreRetryDelays = true,
)
}
}.onStart {
Log.d("ManageRelayServices", "Resuming Relay Services")