diff --git a/app/Services/HomeTimelineService.php b/app/Services/HomeTimelineService.php index 937f3202b..c42c528ab 100644 --- a/app/Services/HomeTimelineService.php +++ b/app/Services/HomeTimelineService.php @@ -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); }