CJ_Clippy
614bf16cf8
ci / build (push) Failing after 1s
Details
|
||
---|---|---|
.. | ||
README.md | ||
restart_failed_recordings.ts | ||
update_discord_message.ts | ||
update_vod_statuses.ts |
README.md
Task names uses underscores because graphile_worker expects them to be that way because graphile_worker interfaces with Postgresql which uses lowercase and numberscores.
Add job via SQL
SELECT graphile_worker.add_job('process_stream_recording', max_attempts := 3);
complete/cancel a job via SQL
SELECT * FROM graphile_worker.complete_jobs(ARRAY[7, 99, 38674, ...]);
cancel all jobs
SELECT * FROM graphile_worker.complete_jobs(
ARRAY(SELECT id FROM graphile_worker.jobs)
);