kopia lustrzana https://github.com/pixelfed/pixelfed
Update LikeService, fix typo
rodzic
82952d6ab8
commit
5ec25204ca
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue