Selaa lähdekoodia

Update HomeTimelineService

Daniel Supernault 1 vuosi sitten
vanhempi
commit
2a8a299058
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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);
         }