mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-17 14:48:17 +00:00
Fix issue where restarting a controller causes a DB write for each network member
This commit is contained in:
@ -777,6 +777,7 @@ void PostgreSQL::initializeMembers()
|
|||||||
std::string assignedAddresses = std::get<20>(row);
|
std::string assignedAddresses = std::get<20>(row);
|
||||||
|
|
||||||
config["id"] = memberId;
|
config["id"] = memberId;
|
||||||
|
config["address"] = memberId;
|
||||||
config["nwid"] = networkId;
|
config["nwid"] = networkId;
|
||||||
config["activeBridge"] = activeBridge.value_or(false);
|
config["activeBridge"] = activeBridge.value_or(false);
|
||||||
config["authorized"] = authorized.value_or(false);
|
config["authorized"] = authorized.value_or(false);
|
||||||
|
Reference in New Issue
Block a user