More Central work.
This commit is contained in:
@@ -42,7 +42,7 @@ public:
|
||||
|
||||
virtual void eraseMember(const uint64_t networkId,const uint64_t memberId);
|
||||
|
||||
virtual void nodeIsOnline(const uint64_t memberId);
|
||||
virtual void nodeIsOnline(const uint64_t networkId,const uint64_t memberId);
|
||||
|
||||
protected:
|
||||
std::string _host;
|
||||
@@ -58,7 +58,7 @@ protected:
|
||||
BlockingQueue< nlohmann::json * > _commitQueue;
|
||||
std::thread _commitThread[ZT_CONTROLLER_RETHINKDB_COMMIT_THREADS];
|
||||
|
||||
std::unordered_map< uint64_t,int64_t > _lastOnline;
|
||||
std::unordered_map< std::pair<uint64_t,uint64_t>,int64_t > _lastOnline;
|
||||
mutable std::mutex _lastOnline_l;
|
||||
std::thread _onlineNotificationThread;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user