Skip to content

Commit f30bd12

Browse files
committed
forgot to goroutine
1 parent 176a375 commit f30bd12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpn/tunnel.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,8 +607,8 @@ func (u *updater) netStatusLoop() {
607607
case <-u.ctx.Done():
608608
return
609609
case <-ticker.C:
610+
go u.recordLatency()
610611
u.sendAgentUpdate()
611-
u.recordLatency()
612612
}
613613
}
614614
}

0 commit comments

Comments
 (0)