Skip to content

Commit

Permalink
alt config
Browse files Browse the repository at this point in the history
  • Loading branch information
kushti committed May 15, 2024
1 parent 08f54f0 commit 0bc471a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/main/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -617,14 +617,14 @@ indexer-dispatcher {
# Dispatcher is the name of the event-based dispatcher
type = Dispatcher
# What kind of ExecutionService to use
executor = "fork-join-executor"
# Configuration for the fork join pool
fork-join-executor {
# Min number of threads to cap factor-based parallelism number to
parallelism-min = 1
# Parallelism (threads) ... ceil(available processors * factor)
parallelism-factor = 1.0
# Max number of threads to cap factor-based parallelism number to
parallelism-max = 4
executor = "thread-pool-executor"
# Configuration for the thread pool
thread-pool-executor {
# minimum number of threads to cap factor-based core number to
core-pool-size-min = 1
# No of core threads ... ceil(available processors * factor)
core-pool-size-factor = 1.0
# maximum number of threads to cap factor-based number to
core-pool-size-max = 3
}
}

0 comments on commit 0bc471a

Please sign in to comment.