Skip to main content

enqueue

Function enqueue 

Source
pub async fn enqueue(
    redis: Option<&RedisPool>,
    job: EnqueuedJob<'_>,
) -> RedisResult<()>
Expand description

Push a job descriptor onto the runner’s queue. When Redis isn’t configured (e.g., local dev without a Redis container) this logs a warning and returns Ok — the test_runs row still exists, it just never gets picked up. That matches the existing pattern in other places that treat Redis as optional.