mirror of https://github.com/pixelfed/pixelfed
Fix Redis queue retry_after being shorter than Horizon's timeout
config/queue.php's redis connection defaulted retry_after to 90s, while config/horizon.php's supervisor-1 defaults to a 300s timeout in both environments. Per Horizon's documented timeout-chain requirement (job timeout < supervisor timeout < retry_after), this was backwards: any job legitimately running between 90s and 300s would get treated as dead by the queue driver and picked up by a second worker before Horizon's own supervisor had a chance to time it out, causing the same job to run twice concurrently. Bumps the default to 330s (a 30s margin over the supervisor timeout) and documents the relationship inline so it doesn't regress if either value is tuned later.pull/7197/head
parent
125217fdf3
commit
582083a7fa
Loading…
Reference in New Issue