micronode.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
micronode.go
@@ -27,7 +27,7 @@ } func NewMicroNode(ctx context.Context,q chan os.Signal, serverId string, reg *RegisterInfo, fnLog func(v ...interface{})) (*MicroNode, error){ conf := NewConfig(KEY_REGISTER,512,5,5000,5000,2000, fnLog) conf := NewConfig(KEY_REGISTER,512,5,60000,60000,2000, fnLog) handle, err := Register(ctx, q, conf, reg) if err != nil { return nil, err @@ -277,4 +277,4 @@ if ms.handle != nil { ms.handle.Free() } } }