Kaynağa Gözat

add connect

stanley-king 4 yıl önce
ebeveyn
işleme
ea1162c6e4
1 değiştirilmiş dosya ile 0 ekleme ve 4 silme
  1. 0 4
      core/framework/cache/cache.redis.php

+ 0 - 4
core/framework/cache/cache.redis.php

@@ -181,13 +181,10 @@ class CacheRedis extends Cache
         if (!$this->enable) return false;
         $this->type = $prefix;
         if ($key == '*' || is_null($key)) {
-            Log::record("hget 1 ",Log::DEBUG);
             return $this->handler->hGetAll($this->_key($name));
         } elseif (strpos($key,',') != false) {
-            Log::record("hget 2 ",Log::DEBUG);
             return $this->handler->hmGet($this->_key($name), explode(',',$key));
         } else {
-            Log::record("hget 3 " . $this->_key($name),Log::DEBUG);
             return $this->handler->hGet($this->_key($name), $key);
         }
     }
@@ -219,7 +216,6 @@ class CacheRedis extends Cache
         if (!$this->enable) return false;
 
         $this->type = '';
-        Log::record("hIncrBy " . $this->_key($name),Log::DEBUG);
         return $this->handler->hIncrBy($this->_key($name), $key, $value);
     }