You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.
Master has a change that partially fixes this. Instead of updating the age per remove, it now tracks the timestamp of the last removed item and computes the age when requested (by stats or otherwise).
Still doesn't reflect the true age of the head of the queue, so if you remove a very old item and then stop reading for a while it will report a larger age than is strictly true. I'll look into peeking at the head.
This solution is definitely preferable — I would much rather err on the side of it being older than it really is than be newer to allow for alerting based on the age.
I've noticed if a lot of enqueues are done with no dequeues, the queue age stat is not updated.
It would be nice if it always reflected the current age of the head of the queue instead of only on remove.
The text was updated successfully, but these errors were encountered: