From 934c3f788266b32ef4e85b116c6686d1a08d76d7 Mon Sep 17 00:00:00 2001 From: chenshijun <csj_sky@126.com> Date: 星期五, 06 九月 2019 14:22:11 +0800 Subject: [PATCH] 完善一些业务处里 --- config.go | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/config.go b/config.go index 329d114..e0d02c8 100644 --- a/config.go +++ b/config.go @@ -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