Add a flag to state if a script is running

Created on 22 March 2024, 3 months ago
Updated 24 March 2024, 3 months ago

Problem/Motivation

Scripts due to their large impact nature should not be able to run concurrently. Therefore we need to use the Drupal state API to track :

  1. If a specific script is running.
  2. If any script is running.

The run of any script should be prevented if another script is running. The question is how to prevent it cleanly without blocking a deployment.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States swirt Florida

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024