Commit Graph

3 Commits

Author SHA1 Message Date
Michael Klishin 7aa7433d91
Shovel: use lqueue over queue
the `queue' module is not aware of the queue
length, which means its `len/1` function is
O(n) while with `lqueue' it is O(1).

We rely on `queue:len/1' for a shovel metric,
so why not use a more efficient drop-in replacement
our team has developed in 2011.
2025-11-03 15:37:21 -08:00
markus812498 878d53e1f4 fixup: addressing feedback and cleaning up tests 2025-09-30 08:45:21 +13:00
markus812498 fe6fb4cbb3 ensures the pending returns an integer and not a list for shovels 2025-09-26 13:14:21 +12:00