/data1/vhosts/caijing.leju.com/htdocs/framework/cache/rediscluster.php(317)
314 //$redis = new RedisCluster(NULL, array($rhost)); 315 316 $list_arr = explode(' ', trim($_SERVER['SINASRV_NUTCRACKER_HOST_PORT3'])); 317 $redis = new RedisCluster(NULL, $list_arr); 318 319 $connection_string = $rhost . '/' . $dbIndex; 320
| #0 |
+
-
/data1/vhosts/caijing.leju.com/htdocs/framework/cache/rediscluster.php(317):RedisCluster->__construct(null,array("10.204.103.233:7501","10.204.103.164:7501","10.204.103.202:7501")) 314 //$redis = new RedisCluster(NULL, array($rhost)); 315 316 $list_arr = explode(' ', trim($_SERVER['SINASRV_NUTCRACKER_HOST_PORT3'])); 317 $redis = new RedisCluster(NULL, $list_arr); 318 319 $connection_string = $rhost . '/' . $dbIndex; 320 |
| #1 |
+
-
/data1/vhosts/caijing.leju.com/htdocs/framework/cache/rediscluster.php(240):Leb_Consistent_RedisCluster->addServer("10.204.10.219","7501",0,"100") 237 { 238 $cacheInstance = new Leb_Consistent_RedisCluster(); 239 foreach ($servers as $server) { 240 $cacheInstance -> addServer($server['host'], $server['port'], 0, $server['weight']); 241 } 242 return $cacheInstance; 243 } |
| #2 |
+
-
/data1/vhosts/caijing.leju.com/htdocs/framework/cache/rediscluster.php(222):Leb_Dao_RedisCluster->addServer(array(array('host'=>"10.204.10.219",'port'=>"7501",'weight'=>"100",'lasting'=>1,'connectTime'=>1))) 219 $cacheInstance['local'] = $this->addServer($config['servers']['cluster']); 220 $cacheInstance['other'] = $this->addServer($config['servers']['other']); 221 }else{ 222 $cacheInstance = $this->addServer($config['servers']['cluster']); 223 } 224 $this->_cacher = $cacheInstance; 225 } |
| #3 |
+
-
/data1/vhosts/caijing.leju.com/htdocs/framework/cache/rediscluster.php(199):Leb_Dao_RedisCluster->__construct(array(),array()) 196 //return self::$_instance ? self::$_instance : self::$_instance = new self($config, $options); 197 //正式 测试链接不同 198 if(IS_ONLINE_SERVER) 199 return self::$_instance ? self::$_instance : self::$_instance = new self($config, $options); 200 else 201 return self::$_instance ? self::$_instance : self::$_instance = Leb_Dao_Redis::getInstance(); 202 } |
| #4 |
+
-
/data1/vhosts/caijing.leju.com/htdocs/app/news/news.php(3115):Leb_Dao_RedisCluster::getInstance() 3112 private function _dealNewsTags($tagsId,$city='fangnews') { 3113 3114 $tagSettingModel = slae::app()->model('tagseting', 'tag'); 3115 $redis = Leb_Dao_RedisCluster::getInstance(); 3116 $redis_key='caijing_column_list_'.$city; 3117 3118 if(isset($_GET['del_cache']) && $_GET['del_cache']==1) |
| #5 |
+
-
/data1/vhosts/caijing.leju.com/htdocs/app/news/news.php(1282):newsController->_dealNewsTags("10005969,2190","fangnews") 1279 if(!empty($dealnewstags_list)) { 1280 $dealnewstags = json_decode($dealnewstags_list, true); 1281 }else{ 1282 $dealnewstags = $this->_dealNewsTags($news['tags_id'],$news['city']); 1283 if (!empty($dealnewstags)) 1284 { 1285 $this->_redis->setex($dealnewstagsKey, rand(30,60), json_encode($dealnewstags)); |
| #6 |
+
-
/data1/vhosts/caijing.leju.com/htdocs/framework/dispatcher.php(280):newsController->detailAction() 277 if($method->getNumberOfParameters() > 0) 278 $this->_act_return = $response = $this->runWithParams($controller, $method, _CLI_ ? $_SERVER['argv'] : $_GET); 279 else 280 $this->_act_return = $response = $controller->$actionFunctionName(); 281 282 $afterMethod = $actionName . 'After'; 283 method_exists($controller, $afterMethod) && $controller->$afterMethod(); |
| #7 |
+
-
/data1/vhosts/caijing.leju.com/htdocs/framework/dispatcher.php(212):Leb_Dispatcher->dispatch("news","news","detail",array(),Leb_Dispatcher) 209 $appPath = $plugins->getAppName(); 210 $controllerName = $plugins->getControllerName(); 211 $actionName = $plugins->getActionName(); 212 $this->dispatch($appPath, $controllerName, $actionName, array(), $plugins); 213 return $plugins; 214 } 215 |
| #8 |
+
-
/data1/vhosts/caijing.leju.com/htdocs/framework/plugin/abstract.php(246):Leb_Dispatcher->_afterLaunch(Leb_Dispatcher) 243 244 // 3:把自己通过插件过滤出去 245 if (!$this->getEnv('disAllowRun')) { 246 $this->_afterLaunch($result); 247 } 248 249 //显示调试信息 |
| #9 |
+
-
/data1/vhosts/caijing.leju.com/htdocs/framework/plugin/broker/abstract.php(46):Leb_Plugin_Abstract->run(Leb_Request) 43 $result = null; 44 foreach ($plugins as $plugin) { 45 // 加工厂,把前面一个插件运行的结果传递给后面 46 $result = $plugin->run($result); 47 // 把前面的结果保存在运行对象里供后续使用 48 if (($result instanceof Leb_Plugin_Abstract)) { 49 $this->setRunner($result->getAlias(), $result); |
| #10 |
+
-
/data1/vhosts/caijing.leju.com/htdocs/framework/controller.php(60):Leb_Plugin_Broker_Abstract->execute(array('Leb_Request'=>array(),'Leb_Dispatcher'=>array())) 57 ); 58 59 // MVC 完毕 60 $result = parent::execute($myPlugins); 61 return $result; 62 } 63 |
| #11 |
+
-
/data1/vhosts/caijing.leju.com/htdocs/framework/plugin/abstract.php(242):Leb_Controller->execute(null) 239 } 240 241 // 2:把plugins传给本类进行加工 242 $result = $this->execute($plugins); 243 244 // 3:把自己通过插件过滤出去 245 if (!$this->getEnv('disAllowRun')) { |
| #12 |
+
-
/data1/vhosts/caijing.leju.com/htdocs/index.php(31):Leb_Plugin_Abstract->run() 28error_reporting(E_ERROR&~E_NOTICE); 29//请求->路由->过滤->分发->响应 30$controller = Leb_Controller::getInstance(); 31$controller->run(); |