1
0
Fork 0
forked from mirror/pixelfed

Merge pull request #3674 from pixelfed/staging

Update LikeService, fix typo
This commit is contained in:
daniel 2022-09-29 04:50:40 -06:00 committed by GitHub
commit da56e0abc4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}
}