Compare commits

3 Commits

Author SHA1 Message Date
096ed618ae Merge pull request 'Redis max log size' (#36) from feature/redis-log-max-entries into develop
Reviewed-on: #36
2025-09-15 14:26:18 -03:00
1a94759f9d Configurable 2025-09-15 14:25:10 -03:00
ebdc53eb80 Redis max log size 2025-09-15 14:22:47 -03:00

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' => $handlerData['capSize'] ?? 100
]; ];
} catch (NotFoundExceptionInterface | ContainerExceptionInterface $exception) { } catch (NotFoundExceptionInterface | ContainerExceptionInterface $exception) {
$this->log($exception, ['handlerData' => $handlerData]); $this->log($exception, ['handlerData' => $handlerData]);