closeio / tasktiger

Python task queue using Redis
MIT License
1.42k stars 80 forks source link

Expose stats #279

Open neob91-close opened 1 year ago

neob91-close commented 1 year ago

This allows hooking into the stats by defining a STATS_CALLBACK which will receive task runtimes. This is useful for measuring the utilisation of workers.