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