upstash / qstash-js

Message queue for serverless
https://docs.upstash.com/qstash
MIT License
133 stars 11 forks source link

lag is often innacurate #102

Open grantsingleton opened 1 month ago

grantsingleton commented 1 month ago

The lag is 0 even when messages are in the queue. It happens whether I am batching or enqueuing. It happens every time, so reproducible example would be to create a queue, publish or enqueue messages, and then read the lag.

When I first started using qstash it seemed to work. Sorry that I don't have a better description on how to reproduce, it just happens every time and with every queue now.

This queue has messages and is sending them, but the lag is 0. Screenshot 2024-05-29 at 7 18 32 AM

grantsingleton commented 1 month ago

This issue is currently preventing us from using qstash in production. I can't count on the lag being accurate.

sancar commented 4 weeks ago

Thanks for the report. This is prioritized and soon to be fixed. We will update here once the fix is on prod.