Files
fizzy/config
Jeremy Daer bc76633f77 Reduce webhook delivery cleanup impact (#2550)
* Add index on webhook_deliveries.created_at

The stale scope (WHERE created_at < ?) and ordered scope
(ORDER BY created_at DESC) both benefit from this index.
Without it, Webhook::Delivery.cleanup does a full table scan.

* Run webhook delivery cleanup every 15 minutes

Each run now deletes ~15 minutes of newly-stale records instead
of ~4 hours worth, a 16x reduction in per-run write volume.
2026-02-16 14:28:05 -08:00
..
2024-06-21 13:19:56 +01:00
2024-06-21 13:19:56 +01:00
2026-02-02 18:06:19 +01:00
2025-12-19 12:21:37 +00:00
2024-06-21 13:19:56 +01:00
2026-01-12 15:16:33 +01:00
2026-02-02 18:06:19 +01:00