Menu
Introduction
Getting Started
Developer guide
Release
Architecture
CLI
Technical documentations
Version
Publication date

Mar 9, 2022

Confidentiality
Public
Reactions
1
Share

QueueRunner

Manages the queue tick loop and subprocess lifecycle.

Only initialized in the main process. Responsible for polling the queue, popping jobs, and spawning CLI sub-processes to execute scenarios.

Attributes
tick_is_running: bool
Functions
deinit @classmethod

Stop the queue tick loop.

init @classmethod

Start the queue tick loop. Only call from main process.

tick_interval : int - 60
daemon : bool - False
try_run_next @classmethod

Trigger an immediate tick if the runner is active.

Called after a job is added to avoid waiting for the next scheduled tick. No-op in sub-processes where the runner is not running.

Shine Logo
Technical bricks to reuse or customize

Have you developed a brick?

Share it to accelerate projects for the entire community.