From 2a8a29905829a996e913c5fe49c79bb1eeb5c6d6 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 12 Nov 2023 21:09:06 -0700 Subject: [PATCH] Update HomeTimelineService --- app/Services/HomeTimelineService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }