action-scheduler
action-scheduler copied to clipboard
Schedule next action before current one is mark completed/failed.
This prevents race conditions that may happen if we are trying to schedule the same action, and the check as_has_scheduled_action
runs after the action is marked complete but before the next one is scheduled.
Fixes #698