Closed ahelmy closed 1 year ago
Could we add a test for this?
It would be hard for the moment, I need to understand how test working in this repo. But I tested locally and works perfect with redis.
We will need a test to prevent future changes from breaking this logic. I can give you some help with the test, but the earliest would be later this month. We use Redis, but not queue priorities so it's not a pressing matter for us.
appreciating your guidance, priority queue could be applied to Redis as well and its used normally so important to support that
@danihodovic Please find unit testing, late better than nothing :D
Hi @ahelmy,
Sorry about the long time until review. I've been busy with other projects.
I think adding queue priority is a seldom used feature (especially with Redis) and it complicates the celery-exporter code. At the moment I prefer not to merge it as I'm not using it in any of my projects and this is the first feature request I get.
If you would like to support it please fork the project.
Thank you, Dani
https://github.com/danihodovic/celery-exporter/pull/196 @danihodovic