diff --git a/dispatcher/backend/src/utils/scheduling.py b/dispatcher/backend/src/utils/scheduling.py index 94376d7d..3dad40a4 100644 --- a/dispatcher/backend/src/utils/scheduling.py +++ b/dispatcher/backend/src/utils/scheduling.py @@ -320,6 +320,7 @@ def get_document(task: dbm.RequestedTask): "priority": task.priority, "worker": task.worker.name if task.worker else None, "duration": get_duration_for_with_schedule(task.schedule, worker.name), + "updated_at": task.updated_at, } stmt = sa.select(dbm.RequestedTask)