Feature

Automatic Exponential Backoff

Network blips, rate limits, and server restarts happen. HookLens is built with an integrated queueing system to ensure that transient errors never result in lost webhook events.

Configurable Retry Policies

Deliveries are managed by Redis and BullMQ. When a delivery fails, it is scheduled for a retry using a standard exponential backoff formula. This ensures your downstream servers are not overwhelmed during an outage.

Default Retry Schedule

The delay for any given attempt is calculated automatically, doubling the wait time after each failure until the maximum number of attempts is reached.

  • Attempt 1: Immediate delivery.
  • Attempt 2: 1 minute delay.
  • Attempt 3: 2 minute delay.
  • Attempt 4: 4 minute delay.
  • Attempt 5: 8 minute delay.

If Attempt 5 fails, the event status is marked as terminal, and the AI Diagnostic Worker is triggered.