Wang Chen hace 4 años
padre
commit
4553dc16de
Se han modificado 1 ficheros con 1 adiciones y 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;