rackerlabs/qonos — pull request #333 by esheffield (2014-09-11 19:01:18+00:00)
Title: Switching to lazyload for getting the next job query

Testing showed that lazyload is apparently fastest in our specific case since we only fetch a single job here and there's only one child table, hence only two simple queries vs. subqueryload which issues as second more complex query or joinedload which issues a single more complex join.