• Dominik Charousset's avatar
    Limit how many actions actors may run in one go · a225c0d8
    Dominik Charousset authored
    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.
    a225c0d8
defaults.hpp 5.38 KB