mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-03 19:13:43 +02:00
Fix issue where restarting a controller causes a DB write for each network member
This commit is contained in:
parent
1cf8a1f493
commit
f8e24f4629
1 changed files with 1 additions and 0 deletions
|
@ -777,6 +777,7 @@ void PostgreSQL::initializeMembers()
|
|||
std::string assignedAddresses = std::get<20>(row);
|
||||
|
||||
config["id"] = memberId;
|
||||
config["address"] = memberId;
|
||||
config["nwid"] = networkId;
|
||||
config["activeBridge"] = activeBridge.value_or(false);
|
||||
config["authorized"] = authorized.value_or(false);
|
||||
|
|
Loading…
Add table
Reference in a new issue