feat(queue): async delivery via Cloudflare Queues with retry backoff and DLQ

This commit is contained in:
RhenCloud committed 2026-08-15 17:03:35 +08:00
1 parent 737dd7af98
commit 486f38365f
16 files changed
+702 -22

No files matched your search

+23
View File
@@ -29,4 +29,27 @@
"database_id": "214a0104-3235-47c0-b7bf-ddda95f3c8ac"
},
],
"queues": {
"producers": [
{
"binding": "QUEUE",
"queue": "webhooker-delivery"
}
],
"consumers": [
{
"queue": "webhooker-delivery",
"max_batch_size": 10,
"max_batch_timeout": 30,
"max_retries": 5,
"dead_letter_queue": "webhooker-delivery-dlq"
},
{
"queue": "webhooker-delivery-dlq",
"max_batch_size": 10,
"max_batch_timeout": 30,
"max_retries": 1
}
]
},
}