Fix a deadlock and some more work on RethinkDB (for central) integration.

This commit is contained in:
Adam Ierymenko 2017-11-08 11:06:14 -08:00
parent 53e7e950f1
commit 4166d8ca35
7 changed files with 106 additions and 83 deletions

View file

@ -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