diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-11-08 11:06:14 -0800 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-11-08 11:06:14 -0800 |
commit | 4166d8ca35ded34180d60b56105a853dd6b02ff4 (patch) | |
tree | 3464cfb6e36f67ec5a8fe6f59eae8cbc40759c40 /controller/FileDB.cpp | |
parent | 53e7e950f187008939dd5021f9d5f635f995f022 (diff) | |
download | infinitytier-4166d8ca35ded34180d60b56105a853dd6b02ff4.tar.gz infinitytier-4166d8ca35ded34180d60b56105a853dd6b02ff4.zip |
Fix a deadlock and some more work on RethinkDB (for central) integration.
Diffstat (limited to 'controller/FileDB.cpp')
-rw-r--r-- | controller/FileDB.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
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 |