Skip to content

Commit

Permalink
fix: increase core pool size from 2 to 4 threads
Browse files Browse the repository at this point in the history
  • Loading branch information
bgiori committed Aug 16, 2024
1 parent bfabb02 commit f26b06f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/src/main/java/com/amplitude/experiment/Experiment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, ExperimentClient>()
Expand Down

0 comments on commit f26b06f

Please sign in to comment.