mirror of
https://github.com/ReCloudStudio/WebHooker.git
synced 2026-09-22 16:11:29 +00:00
feat(queue): async delivery via Cloudflare Queues with retry backoff and DLQ
This commit is contained in:
parent
737dd7af98
commit
486f38365f
16 changed files with 702 additions and 22 deletions
|
|
@ -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
|
||||
}
|
||||
]
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue