From 4166d8ca35ded34180d60b56105a853dd6b02ff4 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 8 Nov 2017 11:06:14 -0800 Subject: Fix a deadlock and some more work on RethinkDB (for central) integration. --- controller/FileDB.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'controller/FileDB.cpp') diff --git a/controller/FileDB.cpp b/controller/FileDB.cpp index b48d5e87..646fa2fe 100644 --- a/controller/FileDB.cpp +++ b/controller/FileDB.cpp @@ -69,7 +69,7 @@ bool FileDB::waitForReady() return true; } -void FileDB::save(const nlohmann::json &record) +void FileDB::save(nlohmann::json *orig,nlohmann::json &record) { char p1[16384],p2[16384]; try { @@ -126,4 +126,9 @@ void FileDB::eraseMember(const uint64_t networkId,const uint64_t memberId) { } +void FileDB::nodeIsOnline(const uint64_t memberId) +{ + // Nothing to do here right now in the filesystem store mode since we can just get this from the peer list +} + } // namespace ZeroTier -- cgit v1.2.3