6 Star 62 Fork 14

科大讯飞/aiges

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
aiges.toml 2.21 KB
一键复制 编辑 原始数据 按行查看 历史
[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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/iflytek/aiges.git
git@gitee.com:iflytek/aiges.git
iflytek
aiges
aiges
grpc

搜索帮助

0d507c66 1850385 C8b1a773 1850385