hum...how can cat3 be queued if cat3 depends on cat2 being executed ?
Or what you wanted to know is how to give a higher priority to cat1 tasks
instead of cat2 tasks (i.e. they are not related, it's just that you prefer
cat2 remaining in the queue a bit longer if there are cat1 tasks)?
In that
BTW: "error coordinating ticker" happening seldomly is not a big issue: for
that round no workers were eligible to be tickers (i.e. dispatchers) but
the next round will elect one.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py
yes i am aware of the scheduler new deps feature
this would require to know every single task id to build the parent
children relation
I don't know what's in the queue, tasks are queued in arbitrary order and
the queue evolves constantly so i can't scan single task ids
alltogether the scheduler
you should use "Jobs" for that.
any task queued that needs another task to be executed before it should be
linked with
thejob.add_deps(dependant, parent)
in your case:
- cat3 is dependant from cat2
- cat2 is dependant from cat1
read more using the
4 matches
Mail list logo