fix: DisableKeepAlive default value of android (#1690)
Some checks failed
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 10s

This commit is contained in:
ForestL 2024-12-02 22:49:16 +08:00 committed by GitHub
parent 9de9f1ef51
commit 5a24efdabf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)
} }