From 9f22407d3046da957fa8c32c5b4e5e00b50c5de2 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期一, 08 二月 2021 14:47:55 +0800
Subject: [PATCH] 调整超时为5s

---
 micronode.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/micronode.go b/micronode.go
index 06580ed..fd0c0d3 100644
--- a/micronode.go
+++ b/micronode.go
@@ -23,7 +23,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,2000,2000,2000, fnLog)
+	conf := NewConfig(KEY_REGISTER,512,5,5000,5000,2000, fnLog)
 	handle, err := Register(ctx, q, conf, reg)
 	if err != nil {
 		return nil, err

--
Gitblit v1.8.0