Add $maxlag parameter to LoadBalancer::getMaxLag() so it'll actually select the right...
authorRoan Kattouw <catrope@users.mediawiki.org>
Tue, 5 Jan 2010 23:39:16 +0000 (23:39 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Tue, 5 Jan 2010 23:39:16 +0000 (23:39 +0000)
commitaf3fd687dbf8eff68f5b5da05f4ecc42beb78f9c
tree8435643b287ad8dcdbb135b046535bd6511dce61
parent0bfa3f9ad81220e10f76d6fdc80ad8b4aa6b184a
Add $maxlag parameter to LoadBalancer::getMaxLag() so it'll actually select the right DB when opening new connections. Looks like an ugly temp fix to me but I have no idea how to do it properly offhand.
includes/GlobalFunctions.php
includes/db/LoadBalancer.php