diff options
| author | Grant Limberg <[email protected]> | 2022-02-28 12:26:32 -0800 |
|---|---|---|
| committer | Grant Limberg <[email protected]> | 2022-02-28 12:26:32 -0800 |
| commit | f8e24f4629f0edde11c3e03c884c19a4fb69aaad (patch) | |
| tree | bdc971b21de5064663e454179dd34558f99ab960 /controller/PostgreSQL.cpp | |
| parent | 1cf8a1f4933add1df99a12d77e13661f5cbcaa71 (diff) | |
Fix issue where restarting a controller causes a DB write for each network member
Diffstat (limited to 'controller/PostgreSQL.cpp')
| -rw-r--r-- | controller/PostgreSQL.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/controller/PostgreSQL.cpp b/controller/PostgreSQL.cpp index c6623d55..f83ebc9b 100644 --- a/controller/PostgreSQL.cpp +++ b/controller/PostgreSQL.cpp @@ -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); |
