feat: add webhook retry queue

This commit is contained in:
2026-06-09 11:32:34 +08:00
parent 81f170924c
commit 8f516fdc01
12 changed files with 940 additions and 74 deletions

View File

@@ -54,3 +54,24 @@ trash_motion_cooldown_seconds = 3
[event_sink]
path = "logs/events.jsonl"
[case_sink]
path = "logs/cases.jsonl"
[webhook_retry_sink]
path = "logs/webhook_retry.jsonl"
[webhook_delivery_sink]
path = "logs/webhook_delivery.jsonl"
[webhooks]
enabled = false
event_url = ""
case_url = ""
callback_token = ""
connect_timeout_seconds = 3
read_timeout_seconds = 5
retry_backoff_seconds = 30
retry_batch_limit = 20
retry_max_attempts = 5
retry_max_backoff_seconds = 1800