From 3918b2c4bf781a7e894e3f3f0d9300b8bbc07719 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期五, 09 八月 2019 11:01:28 +0800 Subject: [PATCH] test --- config.go | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/config.go b/config.go index 950e3a1..329d114 100644 --- a/config.go +++ b/config.go @@ -35,13 +35,16 @@ ModeCluster = "cluster" retryMaxAttempts = 3 groupExpect = 3 - DefaultEncryptKey = "bjbasic@aiotlink" - tagKeyClusterID = "syncer-cluster-name" + DefaultEncryptKey = "bjbasic@aiotlink" + tagKeyClusterID = "syncer-cluster-name" TagKeyClusterPort = "syncer-cluster-port" TagKeyRPCPort = "syncer-rpc-port" - MaxQueryRespSize = 50 * 1024 *1024 - MaxQuerySize = 1024 *1024 - MaxUserEventSize = 1024 + BroadcastIP = "255.255.255.255" + BroadcastPort = 30193 + BroadcastInterval = 5 + MaxQueryRespSize = 50 * 1024 * 1024 + MaxQuerySize = 50 * 1024 * 1024 + MaxUserEventSize = 5 * 1024 ) // DefaultConfig default config @@ -136,4 +139,3 @@ return addr.IP.String(), addr.Port, nil } - -- Gitblit v1.8.0