From c479ef57baaaa28964fc3ec8d80ff99dffa7d49f Mon Sep 17 00:00:00 2001
From: fujuntang <fujuntang@smartai.com>
Date: 星期三, 10 十一月 2021 09:49:29 +0800
Subject: [PATCH] Fix the system hang issue when the app is killed contantly.

---
 src/bus_proxy_start.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/bus_proxy_start.cpp b/src/bus_proxy_start.cpp
index c5eaaf5..6029e6e 100644
--- a/src/bus_proxy_start.cpp
+++ b/src/bus_proxy_start.cpp
@@ -10,6 +10,7 @@
 #include <errno.h>
 #include <getopt.h>
 #include <stdlib.h>
+#include "proc_def.h"
 #include "msg_mgr.h"
 
 using namespace std;
@@ -103,7 +104,7 @@
       }
     }
 
-    sleep(10);
+    sleep(WT_INT);
   }
 
   return NULL;

--
Gitblit v1.8.0