Browse Source

!164 fix hb

From: @zhangyinxia
Reviewed-by: @zhoufeng54,@xu-yfei
Signed-off-by: @xu-yfei
tags/v1.2.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
c7703be365
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      mindspore_serving/ccsrc/common/heart_beat.h

+ 1
- 0
mindspore_serving/ccsrc/common/heart_beat.h View File

@@ -110,6 +110,7 @@ class MS_API Watcher {
auto it = watchee_map_.find(address);
if (it != watchee_map_.end()) {
MSI_LOG(INFO) << "watchee exist: " << address;
watchee_map_[address].timeouts_ = 0;
watchee_map_[address].timer_ = std::make_shared<Timer>();
} else {
WatcheeContext context;


Loading…
Cancel
Save