Commit f8c10c30 authored by 顾文旭's avatar 顾文旭

redis

parent 15944a0b
...@@ -35,7 +35,7 @@ class InterDynamic ...@@ -35,7 +35,7 @@ class InterDynamic
$this->fields = array_keys($this->key_map); $this->fields = array_keys($this->key_map);
$this->reverse_map = array_flip($this->key_map); $this->reverse_map = array_flip($this->key_map);
// //文章动态计数哨兵集群 Sentinel apiConnect // //文章动态计数哨兵集群 Sentinel apiConnect
$this->redis = RedisUtil::getInstance('count', ['serializer' => 'none', 'master' => $useMaster]); $this->redis = RedisUtil::getInstance('cache', ['serializer' => 'none', 'master' => $useMaster]);
} }
public function get($docid, array $fields = array()) public function get($docid, array $fields = array())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment