return new LoadBalancer( array(
'servers' => $servers,
'loadMonitor' => $this->loadMonitorClass,
- 'readOnlyReason' => $this->readOnlyReason
+ 'readOnlyReason' => $this->readOnlyReason,
+ 'trxProfiler' => $this->trxProfiler
) );
}
return new LoadBalancer( array(
'servers' => $wgExternalServers[$cluster],
'loadMonitor' => $this->loadMonitorClass,
- 'readOnlyReason' => $this->readOnlyReason
+ 'readOnlyReason' => $this->readOnlyReason,
+ 'trxProfiler' => $this->trxProfiler
) );
}