mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 05:07:36 +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;
|
||||
$this->redisClient->multi($mode)
|
||||
->rPush($this->redisKey, $record->formatted)
|
||||
->ltrim($this->redisKey, -$this->capSize, -1)
|
||||
->lTrim($this->redisKey, -$this->capSize, -1)
|
||||
->exec();
|
||||
} else {
|
||||
$redisKey = $this->redisKey;
|
||||
|
Reference in New Issue
Block a user