From bca2a7a520f3e762e331640292a6bea822fe5fbd Mon Sep 17 00:00:00 2001 From: Kr328 <39107975+Kr328@users.noreply.github.com> Date: Tue, 14 Apr 2020 19:47:32 +0800 Subject: [PATCH] decrease waiting time --- .../com/github/kr328/clash/service/ProfileBackgroundService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/src/main/java/com/github/kr328/clash/service/ProfileBackgroundService.kt b/service/src/main/java/com/github/kr328/clash/service/ProfileBackgroundService.kt index 00faf7b..bc25224 100644 --- a/service/src/main/java/com/github/kr328/clash/service/ProfileBackgroundService.kt +++ b/service/src/main/java/com/github/kr328/clash/service/ProfileBackgroundService.kt @@ -115,7 +115,7 @@ class ProfileBackgroundService : BaseService() { false } if (queue.isEmpty()) { - launch { delay(1000 * 10) }.onJoin { + launch { delay(1000 * 5) }.onJoin { true } }