sofastack / sofa-rpc-node

SOFARPC Node is a high-performance, high-extensibility, production-level Nodejs RPC framework.
MIT License
612 stars 63 forks source link

consumer invoke 无法 ready 时可能会造成内存泄露 #107

Closed KenyeeC closed 1 year ago

KenyeeC commented 1 year ago

问题一:consumer invoke 无法 ready 时,因为会不断 push 回调函数到数组中,所以会造成内存泄露,ready 的执行在这里 问题二:客户端可能会设置 responseTimeout,但如果无法 ready 时就会超过这个 timeout 的时间,客户端不好处理一些超时问题