If you set up the most minimal queue - e.g. identical to the tutorial - do you still see the issue?
If you set up the most minimal queue - e.g. identical to the tutorial - do you still see the issue? I want to rule out anything else here.
send(“foo”)

"Queue send failed: Service Temporarily Unavailable"3037173
Is there a way to use the existing worker to subscribe to 2 queues at the same time?
QUEUE.send() within a consumer, that it doesn't spawn a new worker within the same "thread"Queue sendBatch failed: Subrequest depth limit exceeded. This request recursed through Workers too many times. but the message that has invoked the consumer should not reach this limit at all env.logger.info('Sending foo');
env.PROCESS_QUEUE.send('FOO')
.then(() => env.logger.info('sent foo'))
.catch((e) => env.logger.error('failed to send foo', e));QUEUE.send()Queue sendBatch failed: Subrequest depth limit exceeded. This request recursed through Workers too many times.[[queues.consumers]]
queue = "1"
max_batch_size = 100 # optional
max_batch_timeout = 30 # optional
[[queues.consumers]]
queue = "2"
max_batch_size = 100 # optional
max_batch_timeout = 30 # optionalexport default {
async queue(batch: MessageBatch<Error>, env: Environment): Promise<void> {
switch (batch.queue) {
case '1':
// handle queue 1
break;
case '2':
// handle queue 2
break;
}
},
};