Redis max log size

This commit is contained in:
Juan Pablo Vial
2025-09-15 14:21:46 -03:00
parent c2cb8f91ad
commit 22195dae8b

View File

@ -60,7 +60,8 @@ class ArrayBuilder
try { try {
$params = [ $params = [
$this->container->get(Predis\ClientInterface::class), $this->container->get(Predis\ClientInterface::class),
"logs:{$handlerData['name']}" "logs:{$handlerData['name']}",
'capSize' => 100
]; ];
} catch (NotFoundExceptionInterface | ContainerExceptionInterface $exception) { } catch (NotFoundExceptionInterface | ContainerExceptionInterface $exception) {
$this->log($exception, ['handlerData' => $handlerData]); $this->log($exception, ['handlerData' => $handlerData]);