boxine / django-huey-monitor

Django based tool for monitoring huey task queue: https://github.com/coleifer/huey
GNU General Public License v3.0
86 stars 20 forks source link

Better monitoring of recursive tasks progression #97

Open Skrattoune opened 2 years ago

Skrattoune commented 2 years ago

Refering to issue #91, I have implemented locally a few helpers which enable better monitoring of progression, especially useful in the case of recursive sub-tasks.

To document their usage, I have added functional example in https://github.com/boxine/django-huey-monitor/blob/master/huey_monitor_tests/test_app/tasks.py Please have a look at the corresponding PR

Skrattoune commented 2 years ago

I didn't create any testing associated to those fonctions, but I ensure that you can use the content of https://github.com/boxine/django-huey-monitor/blob/master/huey_monitor_tests/test_app/tasks.py for testing purposes as you do with the other examples

Skrattoune commented 2 years ago

Hi, could you give me a feedback on this? You can have a look at the use cas examples : https://github.com/Skrattoune/django-huey-monitor/commit/cda15850f36523435092ee0232f47ac2c8cca375