Reworked profiler
This commit is contained in:
@ -24,7 +24,7 @@ class RedisDebug
|
||||
public function __call($name, $arguments)
|
||||
{
|
||||
$command = $name . '(' . $this->r_implode(', ', $arguments) . ')';
|
||||
$profiler = Profiler::getInstance()->profilerQuery($command);
|
||||
$profiler = Profiler::getInstance()->profilerCommand('redis', $command);
|
||||
$data = call_user_func_array(array($this->redis, $name), $arguments);
|
||||
$profiler->end();
|
||||
return $data;
|
||||
|
Reference in New Issue
Block a user