Skip to content

Commit e87c4b7

Browse files
authored
Merge pull request #2158 from ergoplatform/i2154
Fix for API dying eventually with extraIndexer turned on
2 parents fb6eb30 + 0bc471a commit e87c4b7

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/main/resources/application.conf

+9-9
Original file line numberDiff line numberDiff line change
@@ -617,14 +617,14 @@ indexer-dispatcher {
617617
# Dispatcher is the name of the event-based dispatcher
618618
type = Dispatcher
619619
# What kind of ExecutionService to use
620-
executor = "fork-join-executor"
621-
# Configuration for the fork join pool
622-
fork-join-executor {
623-
# Min number of threads to cap factor-based parallelism number to
624-
parallelism-min = 1
625-
# Parallelism (threads) ... ceil(available processors * factor)
626-
parallelism-factor = 1.0
627-
# Max number of threads to cap factor-based parallelism number to
628-
parallelism-max = 4
620+
executor = "thread-pool-executor"
621+
# Configuration for the thread pool
622+
thread-pool-executor {
623+
# minimum number of threads to cap factor-based core number to
624+
core-pool-size-min = 1
625+
# No of core threads ... ceil(available processors * factor)
626+
core-pool-size-factor = 1.0
627+
# maximum number of threads to cap factor-based number to
628+
core-pool-size-max = 3
629629
}
630630
}

0 commit comments

Comments
 (0)