From 26f699593d76d6fa4bcf320c84fd723343c4b5f4 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期一, 20 五月 2019 15:19:15 +0800
Subject: [PATCH] add one pull multi push

---
 shm.go |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/shm.go b/shm.go
index af18432..9611975 100644
--- a/shm.go
+++ b/shm.go
@@ -5,7 +5,6 @@
 	"fmt"
 	"os"
 	"os/signal"
-	"strconv"
 	"time"
 
 	"golang.org/x/sys/unix"
@@ -88,8 +87,7 @@
 	}
 }
 
-func shmReciever(url string, strCount string) {
-	count, _ := strconv.Atoi(strCount)
+func shmReciever(url string, count int) {
 
 	var cs []deliver.Deliver
 	for i := 0; i < count; i++ {

--
Gitblit v1.8.0