Merge "rdbms: Fix grammar in DBTransactionSizeError log message"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 17 Aug 2017 22:18:11 +0000 (22:18 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 17 Aug 2017 22:18:11 +0000 (22:18 +0000)
includes/libs/rdbms/loadbalancer/LoadBalancer.php

index 1df2409..56a7fbb 100644 (file)
@@ -1165,7 +1165,7 @@ class LoadBalancer implements ILoadBalancer {
                        if ( $limit > 0 && $time > $limit ) {
                                throw new DBTransactionSizeError(
                                        $conn,
-                                       "Transaction spent $time second(s) in writes, exceeding the $limit limit.",
+                                       "Transaction spent $time second(s) in writes, exceeding the limit of $limit.",
                                        [ $time, $limit ]
                                );
                        }