Class: Random

Random

Probably the worst idea ever, but its quick and easy to implement. Gives a fair starting point of what it takes to write a minimal scheduler.

NOTE: Doesn't keep track of if workers are in use or not, will keep pushing work to a worker even if it is busy.

new Schedulers.Random()

schedulers/random.js, line 10