pyfarm/pyfarm-master — pull request #273 by guidow (2014-11-19 11:50:22+00:00)
Title: Get pre-assigned agent counts in main job query

This saves us one query per job, which in this particular case is a big
deal. With sqlite and 1050 jobs, the reduces the scheduler's runtime
from > 2 minutes to < 10 seconds on my machine.