Skip to content

Commit

Permalink
Set default thread count in Executor to match the default thread pool…
Browse files Browse the repository at this point in the history
… size in the Emitter
  • Loading branch information
matus-tomlein committed Jan 25, 2024
1 parent 565b009 commit 1789fe5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import java.util.concurrent.Future
object Executor {
private var executor: ExecutorService? = null

var threadCount = 2 // Minimum amount of threads.
var threadCount = EmitterDefaults.threadPoolSize
/**
* Changes the amount of threads the scheduler will be able to use.
*
Expand Down

0 comments on commit 1789fe5

Please sign in to comment.