diff --git a/app/common/Implement/Log/Processor/ArrayBuilder.php b/app/common/Implement/Log/Processor/ArrayBuilder.php index d323e4c..50976f0 100644 --- a/app/common/Implement/Log/Processor/ArrayBuilder.php +++ b/app/common/Implement/Log/Processor/ArrayBuilder.php @@ -60,7 +60,8 @@ class ArrayBuilder try { $params = [ $this->container->get(Predis\ClientInterface::class), - "logs:{$handlerData['name']}" + "logs:{$handlerData['name']}", + 'capSize' => $handlerData['capSize'] ?? 100 ]; } catch (NotFoundExceptionInterface | ContainerExceptionInterface $exception) { $this->log($exception, ['handlerData' => $handlerData]);