Skip to content

worker: Fix MaxDurationInQueue error

Administrator requested to merge ef/fix-max-duration-in-queue into main

Created by: efritz

Old query could respond with a NULL value, which was unexpected by the scanner. Causes noisy (but harmless) error messages in v3.38.0:

Failed to determine queued duration” error=“sql: Scan error on column index 0, name \“age\“: converting NULL to int is unsupported

Test plan

New unit tests.

Merge request reports

Loading