/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/_function/functions.php(1846):Leb_Dao_RedisCluster::getInstance() 1843 */ 1844function getTlStockPriceBatch($company_ids = '') { 1845 if (empty($company_ids)) return []; 1846 $redis = Leb_Dao_RedisCluster::getInstance(); 1847 1848 $redis_hash_key = 'tonglian_one_code_v223'; 1849 $codeList = explode(',', $company_ids); |
| #5 |
+
-
/data1/vhosts/caijing.leju.com/htdocs/app/news/model/news.php(919):getTlStockPriceBatch("44607") 916 if ($com['company_stock_code']) { 917 $stock_model = Slae::app()->model('stock','default'); 918 //$stock = $stock_model->getNowStockInfo(stockCodeChange($com['company_stock_code']), $com['news_id'], 0); 919 $stock_tmp = getTlStockPriceBatch($com['news_id']); 920 if(isset($stock_tmp[$com['news_id']])) 921 { 922 $stock = $stock_tmp[$com['news_id']]; |
| #6 |
+
-
/data1/vhosts/caijing.leju.com/htdocs/app/news/model/news.php(149):News->getRelevantInfo("44607,147688,44607","","2217,4971,10038295,10026765,5002...","44607,147688") 146 if($_GET['cs']=='002'){ 147 pr($return);//exit; 148 } 149 $info = $this->getRelevantInfo($return['company_id'], $return['person_id'], $return['tags_id'], $relCompanyId); 150 $bindCid = explode(',', $relCompanyId); 151 $tmpStock = array_column($info['stock'], NULL, 'company_id'); 152 //新闻取前三家公司做股票数据 |
| #7 |
+
-
/data1/vhosts/caijing.leju.com/htdocs/app/news/news.php(875):News->getNewsById("7384521701507921304") 872 } 873 874 //获取新闻内容 875 $news = $this->_newsModel->getNewsById($newsid); 876 if($_GET['dd_see'] == 'time'){ 877 $end1 = microtime(true); 878 echo '一次获取新闻:'.($end1-$star).' s'; |
| #8 |
+
-
/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(); |
| #9 |
+
-
/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 |
| #10 |
+
-
/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 //显示调试信息 |
| #11 |
+
-
/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); |
| #12 |
+
-
/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 |
| #13 |
+
-
/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')) { |
| #14 |
+
-
/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(); |