From ccf72bb0b8aa9c421bb2964acca2dcd868d10a94 Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期二, 18 五月 2021 11:41:46 +0800
Subject: [PATCH] use more rational node timeout, 60s.

---
 src/defs.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/defs.h b/src/defs.h
index 6939352..51040e6 100644
--- a/src/defs.h
+++ b/src/defs.h
@@ -66,4 +66,7 @@
 bool BHNodeInit(const int64_t request, int64_t &reply);
 void BHCenterHandleInit(std::function<int64_t(const int64_t)> const &onReq);
 
+// node mq is avail with in timeout; after that may get killed.
+int NodeTimeoutSec();
+
 #endif // end of include guard: DEFS_KP8LKGD0

--
Gitblit v1.8.0