优化RPC连接

This commit is contained in:
刘祥超
2021-11-10 22:22:27 +08:00
parent e9a3ed71b4
commit 1d9460f565
7 changed files with 58 additions and 10 deletions

View File

@@ -20,7 +20,7 @@ func SharedRPC() (*RPCClient, error) {
if err != nil {
return nil, err
}
client, err := NewRPCClient(config)
client, err := NewRPCClient(config, true)
if err != nil {
return nil, err
}