WebHooker/wrangler.jsonc

55 lines
1,008 B
JSON

{
"name": "webhooker",
"main": ".output/server/index.mjs",
"compatibility_date": "2026-08-04",
"compatibility_flags": ["nodejs_compat"],
"build": {
"command": "bun run build"
},
"assets": {
"directory": "./.output/public",
"binding": "ASSETS",
"run_worker_first": true
},
"triggers": {
"crons": [
"*/5 * * * *"
]
},
"kv_namespaces": [
{
"binding": "KV",
"id": "53abb6d985a44b80b2b08d510f73928a"
},
],
"d1_databases": [
{
"binding": "DB",
"database_name": "webhooker",
"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
}
]
},
}