track when neighbours were last updated
This commit is contained in:
parent
3abdabdd09
commit
b9082ebedb
3 changed files with 4 additions and 0 deletions
|
|
@ -298,6 +298,7 @@ client.on("message", async (topic, message) => {
|
|||
node_id: envelope.packet.from,
|
||||
},
|
||||
data: {
|
||||
neighbours_updated_at: new Date(),
|
||||
neighbour_broadcast_interval_secs: neighbourInfo.nodeBroadcastIntervalSecs,
|
||||
neighbours: neighbourInfo.neighbors.map((neighbour) => {
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue