Skip to content

Commit f4d4224

Browse files
committed
ipn/proxy: attempt ping proxy when not OK
1 parent 4af6989 commit f4d4224

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

intra/ipn/proxy.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,8 @@ func healthy(p Proxy) error {
474474
pid, lastOKNeverOK, lastOKBeyondThres)
475475
} else if now-lastOK > tzzTimeout.Milliseconds() {
476476
go p.onNotOK()
477+
} else if p.Status() != TOK {
478+
go p.Ping()
477479
}
478480

479481
return nil // ok

0 commit comments

Comments
 (0)