redis-config.yml
1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
pool:
maxTotal: 80
maxIdle: 10
minIdle: 5
maxWaitMillis: 2000
testOnBorrow: false
testWhileIdle: true
redis:
yohoSearchRedis:
cluster: ${search.redis.iscluster}
sync: false
auth: ${search.redis.auth}
timeout: 1000
servers:
- ${search.redis.address}:${search.redis.port}
readOnly:
- ${search.redis.address}:${search.redis.port}
primary: no
yohoSearchBigDataRedis:
cluster: false
sync: false
auth: ${bigDataRedis-search.proxy.auth}
timeout: 1000
servers:
- ${bigDataRedis-search.proxy.address}:${bigDataRedis-search.proxy.port}
readOnly:
- ${bigDataRedis-search.proxy.address}:${bigDataRedis-search.proxy.port}
primary: no
yohoNoSyncRedis:
cluster: false
sync: false
auth: ${redis.notsync.twemproxy.auth}
timeout: 1000
servers:
- ${redis.notsync.twemproxy.addresses}
readOnly:
- ${redis.notsync.twemproxy.addresses}
primary: no