From 21a7f7b5231fdb59487ea56a27a32d417c6e1cb7 Mon Sep 17 00:00:00 2001 From: pylixonly <82711525+pylixonly@users.noreply.github.com> Date: Wed, 13 Nov 2024 12:13:57 +0800 Subject: [PATCH] fix: increase fetch timeout when bundled is cached Co-authored-by: PalmDevs --- app/src/main/kotlin/io/github/pyoncord/xposed/Main.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/io/github/pyoncord/xposed/Main.kt b/app/src/main/kotlin/io/github/pyoncord/xposed/Main.kt index d8e1bea..0b227e2 100644 --- a/app/src/main/kotlin/io/github/pyoncord/xposed/Main.kt +++ b/app/src/main/kotlin/io/github/pyoncord/xposed/Main.kt @@ -129,7 +129,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 = "BunnyXposed" } }