doc: Mention dispatcher shutdown timeouts (#28527)

This commit is contained in:
Patrik Nordwall 2020-01-28 10:21:06 +01:00 committed by Johan Andrén
parent b1699b026e
commit 98e5d22914
2 changed files with 35 additions and 0 deletions

View file

@ -88,6 +88,22 @@ object DispatcherDocSpec {
throughput = 100
}
//#my-thread-pool-dispatcher-config
//#my-dispatcher-with-timeouts-config
my-dispatcher-with-timeouts {
type = Dispatcher
executor = "thread-pool-executor"
thread-pool-executor {
fixed-pool-size = 16
# Keep alive time for threads
keep-alive-time = 60s
# Allow core threads to time out
allow-core-timeout = off
}
# How long time the dispatcher will wait for new actors until it shuts down
shutdown-timeout = 60s
}
//#my-dispatcher-with-timeouts-config
//#affinity-pool-dispatcher-config
affinity-pool-dispatcher {