I am getting this error too in the GUI. So maybe is there something wrong?
I am getting this error too in the GUI. So maybe is there something wrong?

queue handler? Or has it always failed to publish? If so, the GUI would (correctly) think that you don't have a handlerSo currently you could set some sort of semaphore using a DO.Can you explain how this would work? I can sync the rate limit via one or multiple DOs but this is very complicated to do (especially since I have multiple "layered" rate limits) & DOs aren't really atomic iirc.

export default {
fetch: app.fetch,
scheduled: async (event, env, ctx) => {
ctx.waitUntil(cronTrigger(event, env));
},
queue: async (batch: MessageBatch<Error>, env: Environment) => {
fetch("https://api.pushover.net/1/messages.json", {
method: "POST",
headers: {
"Content-Type": "application/x-www-form-urlencoded",
},
body: new URLSearchParams({
token: "xxx",
user: "xxx",
title: "Hono",
message: "Example of cron and queue",
}),
});
},
};await queue.add(myAsyncFunction)
await queue.clear() // Execute functions in a rate-limited fassion