Neither is more correct. It’s certainly cheaper to batch them up on the producer side if you can.
Neither is more correct. It’s certainly cheaper to batch them up on the producer side if you can.
await env.MY_QUEUE.send(msg, { deliveryDelay: 600 }) on the producer side, and retry delays on the consumer side - e.g. messages.batch.retryAfter(300) or .retryAfter(seconds: number) on a per-message basis. API not final.33ba9f42ca7b9084cf895328953209aae9da953df1a8d8f32f3832fe56env.DO.idFromString() to transform to a DO idthis. should just be env.. But whats the error if thats what you have?unstable_dev work with queues? I've got 2 workers locally, one setup as consumer, one as producer. When the producer sends into the queue, the consumer does not react. Is this supposed to work in local dev?Service Temporarily UnavailablesendBatch . This error is being logged to my 3rd party logging infra10331f908d1d8a668c229d6e85654c7f8a6de0 or 89a515 export default {
async queue(batch: MessageBatch<any>, env: Bindings, ctx: ExecutionContext) {
const stub = env.TestDO.get(env.TestDO.idFromName('1'))
const response = await stub.fetch('https://fake-host/', {})
}
}