From f26b06f16dbf996b3a8e2f6bdf94739207bad748 Mon Sep 17 00:00:00 2001 From: Brian Giori Date: Fri, 16 Aug 2024 13:40:38 -0700 Subject: [PATCH] fix: increase core pool size from 2 to 4 threads --- sdk/src/main/java/com/amplitude/experiment/Experiment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/src/main/java/com/amplitude/experiment/Experiment.kt b/sdk/src/main/java/com/amplitude/experiment/Experiment.kt index 04d689f..3585e09 100644 --- a/sdk/src/main/java/com/amplitude/experiment/Experiment.kt +++ b/sdk/src/main/java/com/amplitude/experiment/Experiment.kt @@ -17,7 +17,7 @@ object Experiment { isDaemon = true } } - internal val executorService = ScheduledThreadPoolExecutor(2, daemonThreadFactory) + internal val executorService = ScheduledThreadPoolExecutor(4, daemonThreadFactory) private val httpClient = OkHttpClient() private val instances = mutableMapOf()