mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-12-25 19:31:59 -08:00
wire up pubsub outgoing status changes from controller -> CV2
This commit is contained in:
parent
74f0525470
commit
024824c2fe
14 changed files with 359 additions and 49 deletions
|
|
@ -23,10 +23,11 @@ void PostgresStatusWriter::updateNodeStatus(
|
|||
const std::string& arch,
|
||||
const std::string& version,
|
||||
const InetAddress& address,
|
||||
int64_t last_seen)
|
||||
int64_t last_seen,
|
||||
const std::string& /* frontend unused */)
|
||||
{
|
||||
std::lock_guard<std::mutex> l(_lock);
|
||||
_pending.push_back({ network_id, node_id, os, arch, version, address, last_seen });
|
||||
_pending.push_back({ network_id, node_id, os, arch, version, address, last_seen, "" });
|
||||
}
|
||||
|
||||
size_t PostgresStatusWriter::queueLength() const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue