...
|
...
|
@@ -57,7 +57,7 @@ const getMemcached = async () => { |
|
|
let hosts;
|
|
|
|
|
|
if (queryHosts.length === 0) {
|
|
|
hosts = '127.0.0.1:11211';
|
|
|
hosts = ['memcache1.yohoops.org:12111', 'memcache2.yohoops.org:12111', 'memcache3.yohoops.org:12111'];
|
|
|
} else {
|
|
|
hosts = _.map(queryHosts, 'host');
|
|
|
}
|
...
|
...
|
|