default memcached config
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -57,7 +57,7 @@ const getMemcached = async () => { | @@ -57,7 +57,7 @@ const getMemcached = async () => { | ||
57 | let hosts; | 57 | let hosts; |
58 | 58 | ||
59 | if (queryHosts.length === 0) { | 59 | if (queryHosts.length === 0) { |
60 | - hosts = '127.0.0.1:11211'; | 60 | + hosts = ['memcache1.yohoops.org:12111', 'memcache2.yohoops.org:12111', 'memcache3.yohoops.org:12111']; |
61 | } else { | 61 | } else { |
62 | hosts = _.map(queryHosts, 'host'); | 62 | hosts = _.map(queryHosts, 'host'); |
63 | } | 63 | } |
-
Please register or login to post a comment