mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-22 06:14:02 -07:00
move redis_mem_notification to the correct place
This commit is contained in:
parent
d7d7e07374
commit
3225f41619
1 changed files with 1 additions and 1 deletions
|
@ -1145,6 +1145,7 @@ void PostgreSQL::_membersWatcher_Redis() {
|
|||
_redis->xdel(key, id);
|
||||
}
|
||||
lastID = id;
|
||||
Metrics::redis_mem_notification++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1794,7 +1795,6 @@ uint64_t PostgreSQL::_doRedisUpdate(sw::redis::Transaction &tx, std::string &con
|
|||
.sadd("network-nodes-all:{"+controllerId+"}:"+networkId, memberId)
|
||||
.hmset("member:{"+controllerId+"}:"+networkId+":"+memberId, record.begin(), record.end());
|
||||
++count;
|
||||
Metrics::redis_mem_notification++;
|
||||
}
|
||||
|
||||
// expire records from all-nodes and network-nodes member list
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue