1.优化网络库

2.rpc协议在宕机时不会导致整个rpc无法响应
This commit is contained in:
boyce
2020-02-05 17:51:51 +08:00
parent 29b04d82c3
commit 7fd97033ec
5 changed files with 28 additions and 7 deletions

View File

@@ -143,7 +143,7 @@ func NewOriginNode() *COriginNode {
//安装系统服务
syslogservice := &sysservice.LogService{}
syslogservice.InitLog("syslog", fmt.Sprintf("syslog_%d", CurrentNodeId), sysmodule.LEVER_INFO)
syslogservice.InitLog("syslog", fmt.Sprintf("syslog_%d", CurrentNodeId), sysmodule.LEVER_DEBUG)
service.InstanceServiceMgr().Setup(syslogservice)
//初始化集群对象