mirror of
https://github.com/predis/predis.git
synced 2026-09-05 07:16:44 +00:00
Remove parsing of allocation stats from responses to INFO.
The allocation stats section was most likely something available in betas of some older release of Redis, it is not even reported on the official documentation.
This commit is contained in:
@@ -55,11 +55,7 @@ class ServerInfo extends Command
|
||||
{
|
||||
list($k, $v) = explode(':', $row, 2);
|
||||
|
||||
if (!preg_match('/^db\d+$/', $k)) {
|
||||
if ($k === 'allocation_stats') {
|
||||
$v = $this->parseAllocationStats($v);
|
||||
}
|
||||
} else {
|
||||
if (preg_match('/^db\d+$/', $k)) {
|
||||
$v = $this->parseDatabaseStats($v);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user