forked from mirror/pixelfed
Merge pull request #3674 from pixelfed/staging
Update LikeService, fix typo
This commit is contained in:
commit
da56e0abc4
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue