Limit how many actions actors may run in one go
Limit the maximum number of actions that `scheduled_actor::delay` may add to the internal queue before being forced to push them to the mailbox instead. The new upper bound is 10. This should be small enough to break long-running activity chains early but still allow for small bursts to run without interruption. When reaching the limit, `delay` schedules the action instead of adding it to the internal queue. This avoids the risk of `scheduled_actor::run_actions` entering a busy loop that may starve other activities.
Showing
Please register or sign in to comment