Преглед на файлове

Update HomeTimelineService

Daniel Supernault преди 1 година
родител
ревизия
2a8a299058
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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);
         }