From 491173a7e7ca67470058f5e53ad4c5e5fe24dc05 Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Mon, 23 Jan 2006 15:28:17 +0000 Subject: [PATCH] *g*, bypass lag checks for external store (as it already fallbacks to master) --- includes/ExternalStoreDB.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/ExternalStoreDB.php b/includes/ExternalStoreDB.php index 4b16ab799e..c0fef52b9e 100644 --- a/includes/ExternalStoreDB.php +++ b/includes/ExternalStoreDB.php @@ -42,6 +42,7 @@ class ExternalStoreDB { if ( !array_key_exists( $cluster, $wgExternalLoadBalancers ) ) { $wgExternalLoadBalancers[$cluster] = LoadBalancer::newFromParams( $wgExternalServers[$cluster] ); } + $wgExternalLoadBalancers[$cluster]->allowLagged(true); return $wgExternalLoadBalancers[$cluster]; } -- 2.20.1