mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-06-14 06:01:04 +00:00
Tidy up stale connections. (#406)
* If messageId changes and network ID doesn't, remove 'old' message_id * Boot nodes/connection when no recent messages received for it * Separate task needed for soketto recv to avoid cancel-safety issues with new interval * Wee tidy up * cargo fmt * Add some logging around node adding/removing * Another log info msg * a bit of tidy up * bump stale node timeout to 60s
This commit is contained in:
@@ -28,6 +28,7 @@ soketto = "0.6.0"
|
||||
thiserror = "1.0.24"
|
||||
tokio = { version = "1.8.2", features = ["full"] }
|
||||
tokio-util = { version = "0.6", features = ["compat"] }
|
||||
arrayvec = { version = "0.7.1", features = ["serde"] }
|
||||
|
||||
[dev-dependencies]
|
||||
bincode = "1.3.3"
|
||||
|
||||
Reference in New Issue
Block a user