redis-config.yml
1.08 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.proxy.iscluster}
sync: false
auth: ${search.redis.proxy.auth}
timeout: 1000
servers:
- ${search.redis.proxy.address}
readOnly:
- ${search.redis.proxy.address}
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