docs(scheduler): the snapshot docstring names the ad-hoc runs it now carries
This commit is contained in:
@@ -233,8 +233,8 @@ def _iso(ts: datetime | None) -> str | None:
|
||||
|
||||
def scheduler_snapshot(db) -> dict:
|
||||
"""What the scheduler is doing, for the admin dashboard: each job's live state from this process
|
||||
and its last run from `job_runs`, so a restart no longer blanks "when did it last run, and how
|
||||
did it go". `running_here` is False where the scheduler runs no interval jobs
|
||||
and its last runs from `job_runs`, so a restart no longer blanks "when did it last run, and how
|
||||
did it go"; and the same for the ad-hoc runs users start on one target. `running_here` is False where the scheduler runs no interval jobs
|
||||
(SCHEDULER_ENABLED=false), so the UI can say so while still showing the DB-derived history,
|
||||
queue and quota."""
|
||||
running_here = _scheduler is not None and settings.scheduler_enabled
|
||||
|
||||
Reference in New Issue
Block a user