mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 09:53:33 +00:00
feat: reduced time to wait before trying to connect to local address
This commit is contained in:
parent
f6b176a357
commit
79f5b9b158
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue