mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Update HomeTimelineService
This commit is contained in:
parent
ce63c4997b
commit
2a8a299058
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class HomeTimelineService
|
|||
|
||||
public static function add($id, $val)
|
||||
{
|
||||
if(self::count($id) > 400) {
|
||||
if(self::count($id) >= 400) {
|
||||
Redis::zpopmin(self::CACHE_KEY . $id);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue