Procházet zdrojové kódy

Se dobla el tiempo de almacenamiento de datos en Redis.

Maxi Schvindt před 6 roky
rodič
revize
ec6e2cfcd1
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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) {