Wang Chen %!s(int64=4) %!d(string=hai) anos
pai
achega
4553dc16de
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;