From 7a7dcefe745551759ea1e4fa1f40a1f103adec6e Mon Sep 17 00:00:00 2001 From: Palm Date: Tue, 22 Oct 2024 23:16:39 +0700 Subject: [PATCH] fix: increase fetch timeout when bundled is cached --- app/src/main/kotlin/io/github/revenge/xposed/Main.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/io/github/revenge/xposed/Main.kt b/app/src/main/kotlin/io/github/revenge/xposed/Main.kt index 4187d2d..5cff5b6 100644 --- a/app/src/main/kotlin/io/github/revenge/xposed/Main.kt +++ b/app/src/main/kotlin/io/github/revenge/xposed/Main.kt @@ -130,7 +130,7 @@ class Main : IXposedHookLoadPackage { val client = HttpClient(CIO) { expectSuccess = true install(HttpTimeout) { - requestTimeoutMillis = if (bundle.exists()) 3000 else 10000 + requestTimeoutMillis = if (bundle.exists()) 5000 else 10000 } install(UserAgent) { agent = "RevengeXposed" } }