Commit 861a0df
authored
NM-159: only switch if current gw is inactive (#1138)
* avoid clearing retained messages on host and node updates
* avoid checking port if same as listen port
* Set peer connection interval from server config on startup
* Set peer connection interval from server config on startup
* remove debug log
* Update build_upload_bin.yml
* Update build_upload_bin.yml
* Update build_upload_bin.yml
* Update build_upload_bin.yml
* unset gw if current gw not active
* do checkin every 2 mins
* add logic to check relay node avg latency between peers, sync with server changes
* set timestamp after gateways latency calc
* fix switch between inactive and active relay nodes
* cleanup code
* optimise peer gw latency calc
* optimise finding nearest node1 parent 1643fe6 commit 861a0df
File tree
6 files changed
+354
-119
lines changed- functions
- ncutils
6 files changed
+354
-119
lines changed
0 commit comments