Explorar o código

Update HomeTimelineService

Daniel Supernault hai 1 ano
pai
achega
2a8a299058
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
         }