From 622f52952028ce4e6c6620b025184e322be43b74 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期四, 08 八月 2019 13:26:37 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.1.14:10010/r/syncdb --- 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