Browse Source

Se dobla el tiempo de almacenamiento de datos en Redis.

Maxi Schvindt 6 năm trước cách đây
mục cha
commit
ec6e2cfcd1
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      Services/RedisService.php

+ 2 - 2
Services/RedisService.php

@@ -62,7 +62,7 @@ class RedisService extends Redis implements CollectorInterface
         }
 
         $start = microtime(true);
-        parent::setex($key, 3600, $_save);
+        parent::setex($key, 7200, $_save);
         $end = microtime(true);
         $t = $end - $start;
         if ($output) {
@@ -99,7 +99,7 @@ class RedisService extends Redis implements CollectorInterface
         $_save = $data;
 
         $start = microtime(true);
-        parent::setex($key, 3600, $_save);
+        parent::setex($key, 7200, $_save);
         $end = microtime(true);
         $t = $end - $start;
         if ($output) {