snc/SncRedisBundle

Times rendered in the profiler incorrect after 4.2.1

shane-l opened this issue · 0 comments

93db8c4 appears to have missed the fact that ConnectionWrapper was already doing the multiplication:

/** @psalm-suppress NoInterfaceProperties */
$this->logger->logCommand(
    $this->commandToString($command),
    (microtime(true) - $startTime) * 1000,
    $this->getParameters()->alias,
    $this->isResultTrulyAnError($result) ? (string) $result : false,
);

microtime values (seconds) are now getting multipled by 1,000,000, not 1,000 where ConnectionWrapper is being used.