Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ to make sure the system as a whole remains consistent.
Read more:
[Worker Pro Migration](https://worker.graphile.org/docs/pro/migration).

## v0.17.3

Fixes a bad cast (`::int[]` instead of `::bigint[]`) in `failJobs` resulting in
an error being thrown on shutdown for people who have processed more than 2.147
billion jobs with Graphile Worker.

## v0.17.2

Implement `npm pkg fix` hint; also: fix `version` export - was _still_
Expand Down
2 changes: 1 addition & 1 deletion src/sql/failJobs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ last_error = $2::text,
run_at = greatest(now(), run_at) + (exp(least(attempts, 10)) * interval '1 second'),
locked_by = null,
locked_at = null
where id = any($1::int[]) and locked_by = $3::text
where id = any($1::bigint[]) and locked_by = $3::text
returning *
), queues as (
update ${escapedWorkerSchema}._private_job_queues as job_queues
Expand Down
Loading