You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
当使用nacosconfigservice的getConfig方法时,才会执行RpcClient的初始化和start,导致第一次调用getConfig延时在1s以上。可不可以在创建nacosconfigservice的时候就提前异步初始化一个RpcClient。我们项目启动时会去获取配置,所以1s的延时会增加我们的启动时间,希望可以优化下这个点,或者提供配置参数选择是否提前启动rpcclient。
Describe the bug
当使用nacosconfigservice的getConfig方法时,才会执行RpcClient的初始化和start,导致第一次调用getConfig延时在1s以上。可不可以在创建nacosconfigservice的时候就提前异步初始化一个RpcClient。我们项目启动时会去获取配置,所以1s的延时会增加我们的启动时间,希望可以优化下这个点,或者提供配置参数选择是否提前启动rpcclient。
Expected behavior
nacosclient version:2.1.2
Actually behavior
nothing
How to Reproduce
Steps to reproduce the behavior:
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: