Specifying Queues per environment in wra...

https://community.cloudflare.com/t/specifying-queues-per-environment-in-wrangler-toml-file/513413 Does anyone know the answer to this? Also having the same problem
Cloudflare Community
Specifying Queues per environment in wrangler.toml file
I’m trying to specify separate queue settings in my wrangler.toml file for a specific environment but cannot. Here’s what I have (not functional) name = "server-side-worker" main = "src/index.js" compatibility_date = "2023-05-16" [[queues.producers]] queue = "prod_queue" binding = "THE_Q" [[queues.consumers]] queue = "prod_queue" [...
2 Replies
Elliot Hesp
Elliot HespOP2y ago
Solved it and replied
OilyLime
OilyLime2y ago
Yeah, looks like a toml syntax issue. For others reading this thread, fully specifying [[env.production.queues.producers]] is the solution.
Want results from more Discord servers?
Add your server