Authored by 姜枫

memcached config

@@ -43,6 +43,8 @@ module.exports = { @@ -43,6 +43,8 @@ module.exports = {
43 master: ['127.0.0.1:11211'], 43 master: ['127.0.0.1:11211'],
44 slave: ['127.0.0.1:11211'], 44 slave: ['127.0.0.1:11211'],
45 session: ['127.0.0.1:11211'], 45 session: ['127.0.0.1:11211'],
  46 + poolSize: 25,
  47 + reconnect: 5000,
46 timeout: 1000, 48 timeout: 1000,
47 retries: 0 49 retries: 0
48 }, 50 },
@@ -98,6 +100,7 @@ if (isProduction) { @@ -98,6 +100,7 @@ if (isProduction) {
98 master: ['memcache1.yohoops.org:12111', 'memcache2.yohoops.org:12111', 'memcache3.yohoops.org:12111'], 100 master: ['memcache1.yohoops.org:12111', 'memcache2.yohoops.org:12111', 'memcache3.yohoops.org:12111'],
99 slave: ['memcache1.yohoops.org:12112', 'memcache2.yohoops.org:12112', 'memcache3.yohoops.org:12112'], 101 slave: ['memcache1.yohoops.org:12112', 'memcache2.yohoops.org:12112', 'memcache3.yohoops.org:12112'],
100 session: ['memcache1.yohoops.org:12111', 'memcache2.yohoops.org:12111', 'memcache3.yohoops.org:12111'], 102 session: ['memcache1.yohoops.org:12111', 'memcache2.yohoops.org:12111', 'memcache3.yohoops.org:12111'],
  103 + poolSize: 25,
101 reconnect: 5000, 104 reconnect: 5000,
102 timeout: 1000, 105 timeout: 1000,
103 retries: 0 106 retries: 0