redis-config.yml
1.2 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
42
43
44
45
pool:
maxTotal: 80
maxIdle: 10
minIdle: 5
maxWaitMillis: 2000
testOnBorrow: false
testWhileIdle: true
redis:
yohoSearchRedis:
cluster: true
sync: false
auth:
timeout: 1000
servers:
- ${redis.search.cluster.address0}
- ${redis.search.cluster.address1}
- ${redis.search.cluster.address2}
readOnly:
- ${redis.search.cluster.address0}
- ${redis.search.cluster.address1}
- ${redis.search.cluster.address2}
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