Wang Chen před 4 roky
rodič
revize
4553dc16de
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;