TheLegendVibes
TheLegendVibes
Explore posts from servers
CDCloudflare Developers
Created by TheLegendVibes on 2/1/2025 in #workers-help
POST method is not working in fetch inside Queue Handler
sorry, pinged by mistake
5 replies
HHono
Created by TheLegendVibes on 2/1/2025 in #help
Post method not working with Queues on CF Worker
nothing, it just stucks
35 replies
HHono
Created by TheLegendVibes on 2/1/2025 in #help
Post method not working with Queues on CF Worker
fetch operations in queue handler
35 replies
HHono
Created by TheLegendVibes on 2/1/2025 in #help
Post method not working with Queues on CF Worker
no, I'm not getting any errors
35 replies
HHono
Created by TheLegendVibes on 2/1/2025 in #help
Post method not working with Queues on CF Worker
still not working
35 replies
HHono
Created by TheLegendVibes on 2/1/2025 in #help
Post method not working with Queues on CF Worker
updated codes
35 replies
HHono
Created by TheLegendVibes on 2/1/2025 in #help
Post method not working with Queues on CF Worker
understood, but I used unknown first, then used any to see if that makes any difference
35 replies
HHono
Created by TheLegendVibes on 2/1/2025 in #help
Post method not working with Queues on CF Worker
any suggestion on improving this?
35 replies
HHono
Created by TheLegendVibes on 2/1/2025 in #help
Post method not working with Queues on CF Worker
fetch function with post method is not working inside queue
35 replies
HHono
Created by TheLegendVibes on 2/1/2025 in #help
Post method not working with Queues on CF Worker
Here's my wrangler.json
{
"name": "my-worker",
"workers_dev": true,
"vars": {
"EP_URL": "https://example.com/api"
},
"queues": {
"producers": [{
"queue": "queue-name",
"binding": "DB_QUEUE"
}],
"consumers": [{
"queue": "referral-engine",
"max_batch_size": 5,
"max_batch_timeout": 30,
"max_concurrency": 10,
"retry_delay": 120
}]
},
"observability" : {
"enabled": true,
"head_sampling_rate": 1
},
"compatibility_date":"2024-11-11"
}
{
"name": "my-worker",
"workers_dev": true,
"vars": {
"EP_URL": "https://example.com/api"
},
"queues": {
"producers": [{
"queue": "queue-name",
"binding": "DB_QUEUE"
}],
"consumers": [{
"queue": "referral-engine",
"max_batch_size": 5,
"max_batch_timeout": 30,
"max_concurrency": 10,
"retry_delay": 120
}]
},
"observability" : {
"enabled": true,
"head_sampling_rate": 1
},
"compatibility_date":"2024-11-11"
}
35 replies