WebHooker/wrangler.jsonc

57 lines
No EOL
1,013 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": "a471e264837d4f51b077e078022f0cf0"
},
],
"d1_databases": [
{
"binding": "DB",
"database_name": "webhooker",
"database_id": "8af03c0a-2f18-467c-9c04-7761997cf20b"
},
],
"queues": {
"producers": [
{
"queue": "webhooker-delivery",
"binding": "QUEUE",
}
],
"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
}
]
},
}