Simplified getMaxLag() to use getLagTimes()
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 25 Sep 2014 18:58:16 +0000 (11:58 -0700)
committerOri.livneh <ori@wikimedia.org>
Fri, 26 Sep 2014 00:21:27 +0000 (00:21 +0000)
commit855a19ec86c1a9ef0d732ab4df133e5737b3fca0
treee79be816e050bddc418d072ae85ba0fa50890027
parentc6289d013eac6194fb6631e8b0d9723f580982b0
Simplified getMaxLag() to use getLagTimes()

* This method now benefits from more cache sharing and de-duplicated
  lag time querying to reduce connection stampedes.

Change-Id: I2f3b9a22e4adabea703fbae1f96e65fb65125e2b
includes/db/LoadBalancer.php
includes/jobqueue/JobRunner.php