Skip to content

Commit

Permalink
Use correct sql func
Browse files Browse the repository at this point in the history
  • Loading branch information
TR-items committed Jan 16, 2025
1 parent 0e72513 commit 6626a23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion procrastinate/sql/queries.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ SELECT id, status, task_name, priority, lock, queueing_lock, args, scheduled_at,
-- fetch_job_without_lock --
-- Get the first awaiting job
SELECT id, status, task_name, priority, lock, queueing_lock, args, scheduled_at, queue_name, attempts
FROM procrastinate_fetch_job(%(queues)s);
FROM procrastinate_fetch_job_without_lock(%(queues)s);

-- select_stalled_jobs --
-- Get running jobs that started more than a given time ago
Expand Down

0 comments on commit 6626a23

Please sign in to comment.