Skip to content

Commit 4881e3a

Browse files
committed
Fix bad cast in failJobs
1 parent 89ae18d commit 4881e3a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sql/failJobs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ last_error = $2::text,
123123
run_at = greatest(now(), run_at) + (exp(least(attempts, 10)) * interval '1 second'),
124124
locked_by = null,
125125
locked_at = null
126-
where id = any($1::int[]) and locked_by = $3::text
126+
where id = any($1::bigint[]) and locked_by = $3::text
127127
returning *
128128
), queues as (
129129
update ${escapedWorkerSchema}._private_job_queues as job_queues

0 commit comments

Comments
 (0)