Re: [akka-user] problem with pinned dispatcher

2017-08-01 Thread mc
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 >

Re: [akka-user] problem with pinned dispatcher

2017-08-01 Thread Viktor Klang
«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

[akka-user] problem with pinned dispatcher

2017-08-01 Thread mc
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 {