mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 13:16:39 +02:00
Fix case of Redis::lTrim call
This commit is contained in:
@@ -72,7 +72,7 @@ class RedisHandler extends AbstractProcessingHandler
|
|||||||
$mode = defined('Redis::MULTI') ? Redis::MULTI : 1;
|
$mode = defined('Redis::MULTI') ? Redis::MULTI : 1;
|
||||||
$this->redisClient->multi($mode)
|
$this->redisClient->multi($mode)
|
||||||
->rPush($this->redisKey, $record->formatted)
|
->rPush($this->redisKey, $record->formatted)
|
||||||
->ltrim($this->redisKey, -$this->capSize, -1)
|
->lTrim($this->redisKey, -$this->capSize, -1)
|
||||||
->exec();
|
->exec();
|
||||||
} else {
|
} else {
|
||||||
$redisKey = $this->redisKey;
|
$redisKey = $this->redisKey;
|
||||||
|
Reference in New Issue
Block a user