Merge "rdbms: avoid lag estimates in getLagFromPtHeartbeat ruined by snapshots"
[lhc/web/wiklou.git] / includes / libs / rdbms / database / Database.php
index 523f7cd..699fee7 100644 (file)
@@ -3680,7 +3680,7 @@ abstract class Database implements IDatabase, IMaintainableDatabase, LoggerAware
         * @return array|null ('lag': seconds or false on error, 'since': UNIX timestamp of BEGIN)
         * @since 1.27
         */
-       protected function getTransactionLagStatus() {
+       final protected function getTransactionLagStatus() {
                return $this->trxLevel
                        ? [ 'lag' => $this->trxReplicaLag, 'since' => $this->trxTimestamp() ]
                        : null;