Skip to content

Commit

Permalink
Merge pull request #132 from wincsb/master
Browse files Browse the repository at this point in the history
Fixed the issue that tarsregistry sometimes failed to join the service's locator configuration list
  • Loading branch information
ruanshudong authored Jan 4, 2023
2 parents 9da3618 + 2fd59e6 commit 1bf348c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions RegistryServer/ReapThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ int ReapThread::init()

_recoverProtectRate = _recoverProtectRate < 1 ? 30: _recoverProtectRate;

//更新主控心跳时间,设置主控状态为active
_db.updateRegistryInfo2Db(_heartBeatOff);

//加载对象列表
_db.loadObjectIdCache(_recoverProtect, _recoverProtectRate,0,true, true);

Expand Down

0 comments on commit 1bf348c

Please sign in to comment.