From aa3f73eef78b96c8f1a53336c5d6459098907a6b Mon Sep 17 00:00:00 2001
From: chenshijun <csj_sky@126.com>
Date: 星期三, 04 九月 2019 13:45:19 +0800
Subject: [PATCH] 添加晓龙因业务而增加的更新

---
 config.go |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/config.go b/config.go
index 722fc62..e0d02c8 100644
--- a/config.go
+++ b/config.go
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package main
+package syncdb
 
 import (
 	"fmt"
@@ -118,6 +118,11 @@
 	if c.Mode == ModeCluster && c.RetryMaxAttempts <= 0 {
 		c.RetryMaxAttempts = retryMaxAttempts
 	}
+
+	serfConf.QueryResponseSizeLimit = c.QueryResponseSizeLimit
+	serfConf.QuerySizeLimit = c.QuerySizeLimit
+	serfConf.UserEventSizeLimit = c.UserEventSizeLimit
+
 	return serfConf, nil
 }
 

--
Gitblit v1.8.0