From e42032dafe1d1a38c38745c1532eb0ab438aa234 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期五, 15 一月 2021 14:46:54 +0800
Subject: [PATCH] Reply sendto add log
---
hbusc.go | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hbusc.go b/hbusc.go
index edeacd4..6769558 100644
--- a/hbusc.go
+++ b/hbusc.go
@@ -444,6 +444,7 @@
}
n := h.sockRep.sock.SendtoTimeout(data, replyKey, h.conf.sendTimeOut)
+ h.printLog("reply to key:", replyKey, " n:",n)
if n != 0 {
return errors.New("reply sendToTimeOut n:"+strconv.Itoa(n))
}
--
Gitblit v1.8.0