Commit c89091fc authored by nanamicat's avatar nanamicat

metric

parent 5414643b
Pipeline #42462 passed with stages
in 2 minutes and 50 seconds
......@@ -93,6 +93,7 @@ async fn main() -> Result<()> {
&& now.duration_since(start) >= TIMEOUT // 刚启动时静默,先学习
&& let Some(router) = routers.get(&uplink.id)
&& router.is_online()
&& router.last_update != now
&& let Some(downlink) = router.update(now, &routers, &connections)
{
updating.router_id = router.id;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment