Skip to content
3 linesCodeBlameRaw

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

Webhook deliveries are forgotten once an hour, a thousand at a time, by an index on their time (webhooks 0002)1-- Deliveries older than a fortnight are forgotten each hour, oldest first:
2-- by time, a range rather than a scan of every delivery.
3CREATE INDEX IF NOT EXISTS deliveries_by_time ON deliveries (created_at);