Small JobQueueFederated performance tweaks
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 18 Oct 2013 03:00:24 +0000 (20:00 -0700)
committerBryanDavis <bdavis@wikimedia.org>
Fri, 18 Oct 2013 22:38:09 +0000 (22:38 +0000)
commitb27cf31bc59a146f86cfdea2ebe89ef7c778e100
tree35ce0081b7075efded1bf1b241e1565b98246321
parentdbbc247d9a65a6487cfe80f3cfdb94ac99c15d2c
Small JobQueueFederated performance tweaks

* Made "find non-empty queues" and isEmpty() checks start with the most
  weighted partitions first
* Cleaned up a few exception catches to use JobQueueError
* Added short-circuit for doGetSiblingQueuesWithJobs()

Change-Id: I4d96a8c61c6b1c41dbb44000ccda0fa05a418a09
includes/job/JobQueueFederated.php