Wang Chen 4 سال پیش
والد
کامیت
4553dc16de
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/Cache/Push/PushCache.php

+ 1 - 1
app/Cache/Push/PushCache.php

@@ -70,7 +70,7 @@ class PushCache
         Redis::zAdd($cacheKey, time(), $uid);
         $ttl = Redis::ttl($cacheKey);
         if ((int)$ttl < 1) {
-            Redis::expire($cacheKey, BaseConst::ONE_WEEK_SECONDS);
+            Redis::expire($cacheKey, BaseConst::ONE_DAY_SECONDS * 3);
         }
 
         return true;