Open kglotfelty opened 4 years ago
I'm not sure how random they ever were, particularly if you have a set of pre-conditions. If I'm not mis-remembering the code, I think there's a section which selects the next task to run, and that could be randomised.I haven't looked at t his for quite a while now so my memory could be faulty.
With ordered dictionaries now in 3.7;
taskrunner
tasks are no longer running in random order.I'm wondering if we can randomize the
taskrunner
queue (either always or make an optional.run()
argument) ?Since in eg
srcflux
not all the tasks are added at the same time, randomizing them when the tasks are created wouldn't be as useful as doing it once the queue is populated and the run method callled (methinks)