Replies: 3 comments 5 replies
-
|
Beta Was this translation helpful? Give feedback.
-
|
There's no way of configuring it currently unfortunately. I actually would like to redesign the actor pool a bit, since its been giving me some issues recently in regards to scheduling, so I'll need to spend some time improving its usability, maybe even making the actor pool itself not be an actor, but not entirely sure yet. |
Beta Was this translation helpful? Give feedback.
-
|
I've made a pretty big PR which lets you specify the mailbox for actors when spawning, which should solve this issue. This would let you do: let pool = kameo::spawn(ActorPool::new(...), mailbox::bounded(10)) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When creating a new ActorPool, the mailbox is a default bounded(1000) mailbox. Is there a way to set the bounded capacity of the ActorPool? The caller won't see the backpressure until the 1000 mailbox limit.
Beta Was this translation helpful? Give feedback.
All reactions