Skip to content

Commit b46345d

Browse files
committed
Update PHPMem.php
1 parent 212f912 commit b46345d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Dashboards/Memcached/PHPMem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public function getKeys(): array {
183183
$dump_lines = explode("\n", $dump);
184184

185185
foreach ($dump_lines as $line) {
186-
if (preg_match('/ITEM (\S+) \[(\d+) b; (\d+) s\]/', $line, $matches)) {
186+
if (preg_match('/ITEM (\S+) \[(\d+) b; (\d+) s]/', $line, $matches)) {
187187
$exp = (int) $matches[3] === 0 ? -1 : (int) $matches[3];
188188
// Intentionally formatted as lru_crawler output
189189
$keys[] = 'key='.$matches[1].' exp='.$exp.' la=0 cas=0 fetch=no cls=1 size='.$matches[2];

0 commit comments

Comments
 (0)