twitter-archive / kestrel

simple, distributed message queue system (inactive)
http://twitter.github.io/kestrel
Other
2.78k stars 313 forks source link

Update currentAge for queue on add #136

Closed eric closed 8 years ago

eric commented 10 years ago

Right now _currentAge is not updated on a queue until an item is removed.

This means if the queue had items, then went to 0, when the next item is added, the queue age will not reflect the addTime of the only item in the queue, but instead the add time of the last item before it went to 0.

agargenta commented 8 years ago

We appreciate your contribution, but we've deprecated this project and no longer accept pull requests. Please see https://github.com/twitter-archive/kestrel/blob/master/README.md#status for more info.