-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathaiges.toml
92 lines (81 loc) · 2.21 KB
/
aiges.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[svcName] #服务配置;section与服务名匹配;
finder = 0
host = "0.0.0.0"
port = 5090 #缺省:随机端口
http_listen = "0.0.0.0:1888"
[aiges] #统一引擎相关通用配置;
gesMock = false
sessMode = false
numaNode = 0
realTimeRlt = true
usrCfg = ""
sub = "common"
asyncMode = true
pythonPluginCmd = "/Users/yangyanbo/anaconda3/envs/aiges-python/bin/python -m aiges.serve"
[wrapper] #wrapper示例配置
"common.lic" = "10"
"resource./msp/resource/sms/acmod_16KPowerFlt_sms_RNN.bin" = "HMM_16K"
"resource./msp/resource/sms/wfst.bin" = "WFST"
"log.level" = "debug"
[ws]
readTimeout = 150
sessionTimeout = 180
[auth]
meterWrapperCtrl = false
meterCtrl = false
janusCtrl = false
[resource]
able = false
[elog]
elogRemote = false
elogLocal = false
elogConsumer = 2
elogHost = "127.0.0.1"
elogPort = "4545"
elogXml = "seelog.xml"
elogSpill = "/log/server/iatspill"
elogS3ak = ""
elogS3sk = ""
elogS3ep = ""
elogZkhost = ""
[log]
level = "error"
file = "./log/aiges.log"
size = 10
count = 3
die = 3
async = 0
[lbv2]
lbname = "lb-niche" #传给服务发现,用来确定使用哪个lb 程序启动时候-m=1表示使用服务发现来寻找Lb
able = 0
sub = "sub"
subsvc = "svc"
apiversion = "1.0.0"
conn-timeout = 100
conn-pool-size = 20 #rpc连接池数量。缺省4
lb-mode= 0 #0禁用lb,2使用lb。缺省0 ats只是上报lb,不使用lb,所以设为0
lb-retry = 2
taddrs="lbv2@10.1.87.68:9095" #不使用服务发现时候使用的默认lb地址
[fc] #xrpc flowControl
able = 1000
router = "sessionManager" #路由字段,可选项为sessionManager和qpsLimiter
max = 1000 #会话模式时代表最大的授权量,非会话模式代表间隔时间里的最大请求数
ttl = 10000 #会话模式代表会话的超时时间,非会话模式代表有效期(间隔时间)
best = 10000 #最佳授权数
roll = 5000
strategy = 2 #可选值为0、1、2(缺省为0),0.代表定时上报(v1);1.根据授权范围上报(v1);2.基于hermes(v2)
tasksize =100
taskchsize =100
[trace]
host = "127.0.0.1"
port = 4545
able = 0
deliver = 1 #缺省1
dump = 0
backend = 2
buffer=2000
bcluster = "5s"
idc = "dz"
loadts = 1000000
[sonar]
able = 0