mirror of
https://github.com/langhuihui/monibuca.git
synced 2025-11-03 10:51:12 +08:00
fix: update pull proxy
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user