Authored by 郝肖肖

分流开关开启,测试服务器

1 -[memcached]  
2 -master.hosts=127.0.0.1:11212,127.0.0.1:11213  
3 -slave.hosts=127.0.0.1:11212,127.0.0.1:11213  
4 -session.hosts=127.0.0.1:11212,127.0.0.1:11213  
5 -  
6 -[redis] 1 +[memcached]
  2 +master.hosts=127.0.0.1:12111
  3 +slave.hosts=127.0.0.1:12111
  4 +session.hosts=127.0.0.1:12111
  5 +
  6 +[redis]
7 servers.hosts = 127.0.0.1:6379 7 servers.hosts = 127.0.0.1:6379
@@ -12,13 +12,12 @@ defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'testing'); @@ -12,13 +12,12 @@ defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'testing');
12 12
13 define('EXHIBITION_TICKET', 51335912);//展览票skn 13 define('EXHIBITION_TICKET', 51335912);//展览票skn
14 14
15 -define('USE_INTER_FACE_SHUNT', false);//分流开关 15 +define('USE_INTER_FACE_SHUNT', true);//分流开关
16 16
17 -define('API_URL', 'http://api-test3.yohops.com:9999/');  
18 -define('SERVICE_URL', 'http://service-test3.yohops.com:9999/'); 17 +define('API_URL', 'http://api-test2.yohops.com:9999/');
  18 +define('SERVICE_URL', 'http://service-test2.yohops.com:9999/');
19 define('YOHOBUY_URL', 'http://www.yohobuy.com/'); 19 define('YOHOBUY_URL', 'http://www.yohobuy.com/');
20 -define('SERVICE_NOTIFY', 'http://testservice.yoho.cn:28077/');  
21 -define('API_OLD', 'http://test2.open.yohobuy.com/'); 20 +define('SERVICE_NOTIFY', 'http://service-test2.yohops.com:9999/');
22 21
23 $application = new Application(APPLICATION_PATH . '/configs/application.testing.ini'); 22 $application = new Application(APPLICATION_PATH . '/configs/application.testing.ini');
24 $application->bootstrap()->run(); 23 $application->bootstrap()->run();