aboutsummaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>2025-04-04 01:04:29 +0000
committerGerrit Code Review <gerrit@wikimedia.org>2025-04-04 01:04:29 +0000
commitc4cda2ecf1b672cdb9977f3f4a2c9f08900d27d8 (patch)
treeb96919c36dbc9508fe0dfeb1162242692cc82ded /includes
parent681c51692d9dc6bc2d3e2e8148bced6cdc7007a7 (diff)
parent66760507fe1dee3d79e32b79ca8fcd2695136976 (diff)
downloadmediawikicore-c4cda2ecf1b672cdb9977f3f4a2c9f08900d27d8.tar.gz
mediawikicore-c4cda2ecf1b672cdb9977f3f4a2c9f08900d27d8.zip
Merge "objectcache: Fix RestBagOStuff bytes sent stats"
Diffstat (limited to 'includes')
-rw-r--r--includes/libs/objectcache/RESTBagOStuff.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/libs/objectcache/RESTBagOStuff.php b/includes/libs/objectcache/RESTBagOStuff.php
index b2600b908c86..dcc7bd96a2f9 100644
--- a/includes/libs/objectcache/RESTBagOStuff.php
+++ b/includes/libs/objectcache/RESTBagOStuff.php
@@ -226,7 +226,7 @@ class RESTBagOStuff extends MediumSpecificBagOStuff {
[ 'cacheKey' => $key ] );
}
- $this->updateOpStats( self::METRIC_OP_SET, [ $key => [ strlen( $rbody ), 0 ] ] );
+ $this->updateOpStats( self::METRIC_OP_SET, [ $key => [ strlen( $req['body'] ), 0 ] ] );
return $res;
}