Jelajahi Sumber

Update HomeTimelineService

Daniel Supernault 1 tahun lalu
induk
melakukan
2a8a299058
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      app/Services/HomeTimelineService.php

+ 1 - 1
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);
         }