I got this to work by defining actor group, see my other post ("how to bind
each actor in a pool to a thread").
Thanks,
M
On Tuesday, August 1, 2017 at 12:31:36 PM UTC-7, Patrik Nordwall wrote:
>
> I don't think that is the right way to define the dispatcher for router
> pool. See docs
>
«Note that it’s not guaranteed that the *same* thread is used over time,
since the core pool timeout is used for PinnedDispatcher to keep resource
usage down in case of idle actors. To use the same thread all the time you
need to add thread-pool-executor.allow-core-timeout=off to the
configuration
Hello,
I'm trying to use PinnedDispatcher using the following configuration (in
application.conf):
app {
pinnedDispatcher {
type = "PinnedDispatcher"
executor = "thread-pool-executor"
thread-pool-executor.allow-
core-timeout = off
thread-pool-executor {