mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Update LikeService, fix typo
This commit is contained in:
parent
82952d6ab8
commit
5ec25204ca
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class LikeService {
|
|||
{
|
||||
if(self::setCount($profileId) > 400) {
|
||||
if(config('database.redis.client') === 'phpredis') {
|
||||
Redis::zpopmin(self::CACHE_SET_KEY . $id);
|
||||
Redis::zpopmin(self::CACHE_SET_KEY . $profileId);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue