forked from blackbeans/go-moa-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmoa_server.toml
54 lines (49 loc) · 1.09 KB
/
moa_server.toml
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
46
47
48
49
50
51
52
53
54
# This is a TOML document.
#当前使用的环境
[env]
name="moa-demo"
runMode="dev"
#bindAddress="^10\\.83\\.\\d+\\.\\d+$:13000"
bindAddress=":13800"
#可以是momokeeper或者zookeeper
registryType="zookeeper"
#service Uri的后缀可以为空
serviceUriSuffix=""
#registry的管理
[registry]
[registry.dev]
hosts="localhost:2181"
[registry.online]
hosts="localhost:2181"
#cluster的服务器
[clusters]
[clusters.dev]
#env=dev/online
env="dev"
logFile="log_test.xml"
processTimeout=5
#最大分发处理协程数
maxDispatcherSize=8000
#读取缓冲大小
readBufferSize=16384
#写入缓冲大小
writeBufferSize=16384
#写异步channel长度
writeChannelSize=1000
#读异步channel长度
readChannelSize=1000
[clusters.online]
#env=dev/online
env="online"
logFile="log_test.xml"
processTimeout=5
#最大分发处理协程数
maxDispatcherSize=8000
#读取缓冲大小
readBufferSize=16384
#写入缓冲大小
writeBufferSize=16384
#写异步channel长度
writeChannelSize=1000
#读异步channel长度
readChannelSize=1000