Преглед изворни кода

Se dobla el tiempo de almacenamiento de datos en Redis.

Maxi Schvindt пре 6 година
родитељ
комит
ec6e2cfcd1
1 измењених фајлова са 2 додато и 2 уклоњено
  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) {