From d868f2b95d0f1e22008e3ce3c4993337d19c37ee Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期二, 14 一月 2020 17:05:17 +0800
Subject: [PATCH] update

---
 run.go |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/run.go b/run.go
index c795679..5de86cb 100644
--- a/run.go
+++ b/run.go
@@ -174,8 +174,8 @@
 	)
 	ipcRcv := sdkhelper.GetIpcAddress(s.shm, s.id+postPull)
 	ipcSnd := sdkhelper.GetIpcAddress(s.shm, s.id+postPush)
-	chRcv := make(chan []byte, 3)
-	chSnd := make(chan sdkstruct.MsgSDK, 3)
+	chRcv := make(chan []byte, s.maxChannel)
+	chSnd := make(chan sdkstruct.MsgSDK, s.maxChannel)
 
 	rcver := sdkhelper.NewReciever(ipcRcv, chRcv, s.shm, s.fnLogger)
 	snder := sdkhelper.NewSender(ipcSnd, chSnd, s.shm, s.fnLogger)

--
Gitblit v1.8.0