There was an error while loading. Please reload this page.
1 parent 46c3603 commit afce03cCopy full SHA for afce03c
1 file changed
src/Dashboards/Memcached/PHPMem.php
@@ -229,6 +229,11 @@ public function getKeys(): array {
229
throw new MemcachedException('metadump failed: '.$last);
230
}
231
232
+ // Memcached >= 1.6.43 prefixes the dump with an OK line
233
+ if ($lines !== [] && rtrim($lines[0], "\r") === 'OK') {
234
+ array_shift($lines);
235
+ }
236
+
237
return $lines;
238
239
0 commit comments