...
|
...
|
@@ -36,8 +36,9 @@ module.exports = { |
|
|
master: ['192.168.102.222:11213'],
|
|
|
slave: ['192.168.102.222:11213'],
|
|
|
session: ['192.168.102.222:11213'],
|
|
|
timeout: 1000,
|
|
|
retries: 0
|
|
|
timeout: 100,
|
|
|
retries:0,
|
|
|
reconnect:5000
|
|
|
},
|
|
|
interfaceShunt: {
|
|
|
useInterfaceShunt: false,
|
...
|
...
|
@@ -95,7 +96,9 @@ 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'],
|
|
|
timeout: 3000
|
|
|
timeout: 100,
|
|
|
retries:0,
|
|
|
reconnect:5000
|
|
|
},
|
|
|
useOneapm: true,
|
|
|
useCache: true,
|
...
|
...
|
@@ -126,8 +129,9 @@ if (isProduction) { |
|
|
master: ['127.0.0.1:12111'],
|
|
|
slave: ['127.0.0.1:12112'],
|
|
|
session: ['127.0.0.1:12111'],
|
|
|
timeout: 1000,
|
|
|
retries: 0
|
|
|
timeout: 100,
|
|
|
retries:0,
|
|
|
reconnect:5000
|
|
|
}
|
|
|
});
|
|
|
} |
...
|
...
|
|