Skip to content
Open
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
-- Persist congestion requeue telemetry directly on remember_jobs so operators
-- and status checks can inspect how many times a job was parked for upload
-- congestion and when its next attempt is scheduled without decoding the
-- Apalis payload or scraping logs.
--
-- Both columns use metadata-only fast defaults in PostgreSQL 11+ and do not
-- rewrite existing rows.
ALTER TABLE remember_jobs
ADD COLUMN IF NOT EXISTS congestion_requeues INTEGER NOT NULL DEFAULT 0,
ADD COLUMN IF NOT EXISTS next_attempt_at TIMESTAMPTZ;
Loading
Loading