Hi, new to queues. I'm doing this:

Hi, new to queues. I'm doing this:
await env.queue.send(
data,
{ delaySeconds: 42300, contentType: "json" }
).then(() => console.log("done"));
await env.queue.send(
data,
{ delaySeconds: 42300, contentType: "json" }
).then(() => console.log("done"));
However, whenever I view on the dashboard and list messages, nothing shows, however "done" shows in the live logs. Am I doing something wrong? Smaller times work though.
4 Replies
Pranshu Maheshwari
delayed messages won't show up in the dashboard, until the delay is done. IMO the best way to reason about delayed messages: for the duration of the delay, they're not on the main queue. once the delay is done, they move back into the main queue.
gwapes
gwapes4w ago
I think I understand what you mean... thank you On the dashboard here, I can't seem to set Message wait time (seconds) to be 0, is this intended?
No description
Pranshu Maheshwari
that looks like a bug, thank you!
gwapes
gwapes4w ago
Oh, I found a bug lol. No worries. It would also be nice to have a pop up when you make or edit a queue to have the wrangler bindings come up, like how when you make a kv for example the bindings come up to copy and paste
Want results from more Discord servers?
Add your server