mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-04 08:13:07 +00:00
feat: reduced time to wait before trying to connect to local address
This commit is contained in:
@@ -185,7 +185,7 @@ object Preferences {
|
|||||||
fun isServerSwitchable(): Boolean {
|
fun isServerSwitchable(): Boolean {
|
||||||
return App.getInstance().preferences.getLong(
|
return App.getInstance().preferences.getLong(
|
||||||
NEXT_SERVER_SWITCH, 0
|
NEXT_SERVER_SWITCH, 0
|
||||||
) + 600000 < System.currentTimeMillis()
|
) + 60000 < System.currentTimeMillis()
|
||||||
}
|
}
|
||||||
|
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
|
|||||||
Reference in New Issue
Block a user