From dc5557c7bb411037002e706cb20df0f71d12e5ee Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期一, 10 八月 2020 15:20:54 +0800
Subject: [PATCH] fix topic_sub_map

---
 src/util/sem_util.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/util/sem_util.c b/src/util/sem_util.c
index e7c98b9..bc8c4f4 100644
--- a/src/util/sem_util.c
+++ b/src/util/sem_util.c
@@ -114,7 +114,7 @@
 
   while (semtimedop(semId, &sops, 1, timeout) == -1)
     if (errno != EINTR) {
-      err_msg(errno, "SemUtil::dec_timeout");
+     // err_msg(errno, "SemUtil::dec_timeout");
       return -1;
     }
 
@@ -123,7 +123,6 @@
 
 /* Release semaphore - increment it by 1 */
 int SemUtil::inc(int semId) {
-logger.debug("%d: SemUtil::inc\n", semId);
   struct sembuf sops;
 
   sops.sem_num = 0;

--
Gitblit v1.8.0