mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-12-22 15:47:59 +08:00
fix: DisableKeepAlive default value of android (#1690)
Some checks failed
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 10s
Some checks failed
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 10s
This commit is contained in:
parent
9de9f1ef51
commit
5a24efdabf
@ -35,7 +35,7 @@ func KeepAliveInterval() time.Duration {
|
|||||||
|
|
||||||
func SetDisableKeepAlive(disable bool) {
|
func SetDisableKeepAlive(disable bool) {
|
||||||
if runtime.GOOS == "android" {
|
if runtime.GOOS == "android" {
|
||||||
setDisableKeepAlive(false)
|
setDisableKeepAlive(true)
|
||||||
} else {
|
} else {
|
||||||
setDisableKeepAlive(disable)
|
setDisableKeepAlive(disable)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user