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;