TencentCloudBase / cloudbase-cli

The cli tool for cloudbase
ISC License
46 stars 12 forks source link

部署的时候报 MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 这个错误 #17

Closed chao closed 3 years ago

chao commented 3 years ago
image

(node:1723) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 tcbExit listeners added to [process]. Use emitter.setMaxListeners() to increase limit

不确定是我的云函数问题还是cloudbase-cli的问题,麻烦帮忙看看。

chao commented 3 years ago

用命令tcp fn deploy --all部署的时候如果云函数比较多就会出错。

错误信息:

✖ [CreateFunction] Your current request times equals to `11` in a second, which exceeds the frequency limit `10` for a second. Please reduce the frequency of calls.
18
ac0d4585-90f9-4d0b-a5e4-7520cba95cc8
19
script returned exit code 1
image
chao commented 3 years ago

如果腾讯云有只能并发10个的限制的话cli工具是不是应该分批部署呢?

chhpt commented 3 years ago

目前同时部署多个云函数尚有一些问题,建议不要同时部署过多的云函数