Authored by 姜枫

memcached config

... ... @@ -43,6 +43,8 @@ module.exports = {
master: ['127.0.0.1:11211'],
slave: ['127.0.0.1:11211'],
session: ['127.0.0.1:11211'],
poolSize: 25,
reconnect: 5000,
timeout: 1000,
retries: 0
},
... ... @@ -98,6 +100,7 @@ if (isProduction) {
master: ['memcache1.yohoops.org:12111', 'memcache2.yohoops.org:12111', 'memcache3.yohoops.org:12111'],
slave: ['memcache1.yohoops.org:12112', 'memcache2.yohoops.org:12112', 'memcache3.yohoops.org:12112'],
session: ['memcache1.yohoops.org:12111', 'memcache2.yohoops.org:12111', 'memcache3.yohoops.org:12111'],
poolSize: 25,
reconnect: 5000,
timeout: 1000,
retries: 0
... ...