Telegram (ask questions / claim the issue here first): https://t.me/+DOylgFv1jyJlNzM0
Why this matters
src/services/webhookRetryScheduler.ts (started in index.ts) runs every 60s with a [60,300,1800] backoff and reads ws.max_attempts, while src/services/webhookRetryProcessor.ts (never started) runs every 10s; webhookService itself uses MAX_RETRY_ATTEMPTS=4 with 5/15/45 min delays. These three sources of truth for retry behavior conflict.
Acceptance criteria
Files to touch
- src/services/webhookRetryScheduler.ts
- src/services/webhookRetryProcessor.ts
- src/services/webhookService.ts
- src/index.ts
Out of scope
- Adding a dead-letter UI
- Per-subscription custom backoff
Why this matters
src/services/webhookRetryScheduler.ts (started in index.ts) runs every 60s with a [60,300,1800] backoff and reads ws.max_attempts, while src/services/webhookRetryProcessor.ts (never started) runs every 10s; webhookService itself uses MAX_RETRY_ATTEMPTS=4 with 5/15/45 min delays. These three sources of truth for retry behavior conflict.
Acceptance criteria
Files to touch
Out of scope