Creates an option to ignore reconnection relays that should be used when the network settings change.
This commit is contained in:
+4
-1
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user