Merge branch 'develop' of git.yoho.cn:fe/yohobuy-node into develop
Showing
2 changed files
with
23 additions
and
3 deletions
@@ -41,7 +41,7 @@ module.exports = { | @@ -41,7 +41,7 @@ module.exports = { | ||
41 | udp: { // send by udp | 41 | udp: { // send by udp |
42 | level: 'debug', // logger level | 42 | level: 'debug', // logger level |
43 | host: '192.168.102.162', // influxdb host | 43 | host: '192.168.102.162', // influxdb host |
44 | - port: '4444'// influxdb port | 44 | + port: '4444' // influxdb port |
45 | }, | 45 | }, |
46 | console: { | 46 | console: { |
47 | level: 'debug', | 47 | level: 'debug', |
@@ -71,6 +71,13 @@ if (isProduction) { | @@ -71,6 +71,13 @@ if (isProduction) { | ||
71 | Object.assign(module.exports, { | 71 | Object.assign(module.exports, { |
72 | appName: 'www.yohobuy.com for test', | 72 | appName: 'www.yohobuy.com for test', |
73 | useOneapm: true, | 73 | useOneapm: true, |
74 | - useCache: true | 74 | + useCache: true, |
75 | + memcache: { | ||
76 | + master: ['127.0.0.1:12111'], | ||
77 | + slave: ['127.0.0.1:12112'], | ||
78 | + session: ['127.0.0.1:12111'], | ||
79 | + timeout: 1000, | ||
80 | + retries: 0 | ||
81 | + } | ||
75 | }); | 82 | }); |
76 | -} | 83 | +} |
-
Please register or login to post a comment