mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-12-01 08:36:50 +00:00
fix: DisableKeepAlive default value of android (#1690)
This commit is contained in:
1 parent
9de9f1ef51
commit
5a24efdabf
1 file changed
+1
-1
@@ -35,7 +35,7 @@ func KeepAliveInterval() time.Duration {
|
||||
|
||||
func SetDisableKeepAlive(disable bool) {
|
||||
if runtime.GOOS == "android" {
|
||||
setDisableKeepAlive(false)
|
||||
setDisableKeepAlive(true)
|
||||
} else {
|
||||
setDisableKeepAlive(disable)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user