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
42
43
44
pool:
maxTotal: 80
maxIdle: 10
minIdle: 5
maxWaitMillis: 2000
testOnBorrow: false
testWhileIdle: true
redis:
yohoSearchRedis:
cluster: false
sync: false
auth:
timeout: 100
servers:
- ${redis.search.proxy.address}:${redis.search.proxy.port}
readOnly:
- ${redis.search.proxy.address}:${redis.search.proxy.port}
primary: no
yohoSearchBigDataRedis:
cluster: false
sync: false
auth: ${bigDataRedis-search.proxy.auth}
timeout: 100
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