소스 검색

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