重置版本

This commit is contained in:
boyce
2019-10-29 14:35:23 +08:00
parent 37bc5f2256
commit 00e5ec3891
2 changed files with 2 additions and 3 deletions

View File

@@ -113,7 +113,7 @@ func (slf *CCluster) ListenService() error {
func (slf *CCluster) ReSetLocalRpcClient() {
slf.reader, slf.writer = net.Pipe()
go rpc.ServeConn(slf.reader)
slf.LocalRpcClient = rpc.NewClient(slf.writer)
slf.LocalRpcClient = rpc.NewClient(slf.writer,true)
}
type CPing struct {