Files
mtusi2026lab7/migrations/008_dispatch_recovery.sql
T
R0flyan 2fa513f56c
Skeleton contracts / contracts (pull_request) Canceled after 0s
Lab7 HTTPS integration / compose (pull_request) Canceled after 0s
Реализовать защиту Lab7 и проверку отзыва worker
2026-11-27 21:53:26 +03:00

5 lines
320 B
SQL

-- An expired worker lease is recovered by the dispatcher before publishing.
GRANT SELECT(active_version) ON attachments TO lab_dispatcher;
GRANT UPDATE(status,error_code,updated_at) ON attachments TO lab_dispatcher;
GRANT UPDATE(state,lease_until,error_code,attempt,next_at,updated_at) ON image_jobs TO lab_dispatcher;