fix: update pull proxy

This commit is contained in:
langhuihui
2025-01-03 10:43:24 +08:00
parent 55d54734e7
commit a6114700d7
3 changed files with 24 additions and 8 deletions

View File

@@ -137,5 +137,7 @@ func (d *TCPPushProxy) Tick(any) {
}
conn.Close()
d.PushProxy.RTT = time.Since(startTime)
d.PushProxy.ChangeStatus(PushProxyStatusOnline)
if d.PushProxy.Status == PushProxyStatusOffline {
d.PushProxy.ChangeStatus(PushProxyStatusOnline)
}
}