From 8b583d90066738f3904ba5bf342d116e44232a66 Mon Sep 17 00:00:00 2001 From: Neil Shen Date: Tue, 3 Jan 2023 14:25:40 +0800 Subject: [PATCH] address comments Signed-off-by: Neil Shen --- pkg/cmd/server/server_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/cmd/server/server_test.go b/pkg/cmd/server/server_test.go index 649377178c6..8b52081a62d 100644 --- a/pkg/cmd/server/server_test.go +++ b/pkg/cmd/server/server_test.go @@ -205,7 +205,7 @@ func TestParseCfg(t *testing.T) { ServerMaxPendingMessageCount: 102400, ServerAckInterval: config.TomlDuration(time.Millisecond * 100), ServerWorkerPoolSize: 4, - MaxRecvMsgSize: 268435456, + MaxRecvMsgSize: 256 * 1024 * 1024, }, Scheduler: &config.SchedulerConfig{ HeartbeatTick: 2, @@ -514,7 +514,7 @@ cert-allowed-cn = ["dd","ee"] ServerMaxPendingMessageCount: 102400, ServerAckInterval: config.TomlDuration(time.Millisecond * 100), ServerWorkerPoolSize: 4, - MaxRecvMsgSize: 268435456, + MaxRecvMsgSize: 256 * 1024 * 1024, }, Scheduler: &config.SchedulerConfig{ HeartbeatTick: 2, @@ -581,7 +581,7 @@ unknown3 = 3 ServerMaxPendingMessageCount: 102400, ServerAckInterval: config.TomlDuration(time.Millisecond * 100), ServerWorkerPoolSize: 4, - MaxRecvMsgSize: 268435456, + MaxRecvMsgSize: 256 * 1024 * 1024, }, Scheduler: &config.SchedulerConfig{ HeartbeatTick: 2,