setting this in queues consumer ```[[queues.consumers]] queue = "gopersonal-llm-ranking-queue" max_b
setting this in queues consumer and getting the error
✘ [ERROR] A request to the Cloudflare API (/accounts/920b1a6e159cf77dab28969103a4765b/queues/c30e85e6726c455b880498715d8a0b4c/consumers/5bad5c90b2644f498177c45a164e96ac) failed.
Queue consumer (type worker) has invalid settings: maximum wait time must be between 0 and 60000
ms. [code: 100127]
If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choose if we put the value of
If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choose if we put the value of
max_batch_timeout
to 60 it works.., that means the error message is in milliseconds and the actual limit is 60 seconds?GitHub
Build software better, together
GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.

4 Replies
yep you got it, the max batch wait time is 60 seconds [1], the backend rest api takes milliseconds [2], so wrangler multiplies the config value by 1000 [3], making the error message confusing : )
[1] https://developers.cloudflare.com/queues/platform/limits/
[2] https://developers.cloudflare.com/api/resources/queues/subresources/consumers/methods/create/
[3] https://github.com/cloudflare/workers-sdk/blob/0322d085f634c1a0a12a59b4db293088d0cadb62/packages/wrangler/src/deploy/deploy.ts#L1236
thanks, any plans to increase those limits?
someone orange would have to speak to that - personally I would love to see larger values allowed there and also the batch size 100msg/256kb lifted a bit as well