🍻 报警通知上线

This commit is contained in:
naiba committed 2020-12-20 12:18:27 +08:00
1 parent c7158a1458
commit e1a0c3a7c3
8 files changed
+330 -30

No files matched your search

+1 -1
View File
@@ -173,7 +173,7 @@ func reportState() {
for {
if client != nil {
monitor.TrackNetworkSpeed()
_, err = client.ReportState(ctx, monitor.GetState(2).PB())
_, err = client.ReportState(ctx, monitor.GetState(dao.ReportDelay).PB())
if err != nil {
log.Printf("reportState error %v", err)
time.Sleep(delayWhenError)