wzq лет назад: 5
Родитель
Сommit
0f4480ab2d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Traits/PostTrait.php

+ 1 - 1
app/Traits/PostTrait.php

@@ -117,7 +117,7 @@ trait PostTrait
                 ];
             }
             Redis::SET($commentKey, json_encode($comment));
-            Redis::EXPIRE($commentKey, 3);
+            Redis::EXPIRE($commentKey, 300);
         }
         return $comment;
     }