NicolasLM / spinach

Modern Redis task queue for Python 3
https://spinach.readthedocs.io
BSD 2-Clause "Simplified" License
63 stars 4 forks source link

Can't prioritize Tasks #26

Open bigjools opened 1 year ago

bigjools commented 1 year ago

It would be useful to prioritize Tasks so when they are pulled from the queue we can have some sort of ordering other than FIFO.

Defining the order on the Task definition is a good start, and allowing the schedule call to override that would be even better.