Merge pull request #3674 from pixelfed/staging

Update LikeService, fix typo
pull/3696/head
daniel 3 years ago committed by GitHub
commit da56e0abc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -25,7 +25,7 @@ class LikeService {
{ {
if(self::setCount($profileId) > 400) { if(self::setCount($profileId) > 400) {
if(config('database.redis.client') === 'phpredis') { if(config('database.redis.client') === 'phpredis') {
Redis::zpopmin(self::CACHE_SET_KEY . $id); Redis::zpopmin(self::CACHE_SET_KEY . $profileId);
} }
} }

Loading…
Cancel
Save