Skip to content

Commit

Permalink
Fix locked ping
Browse files Browse the repository at this point in the history
  • Loading branch information
wzshiming committed Jun 14, 2024
1 parent ad772d0 commit 331e837
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions crproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,6 @@ func (c *CRProxy) disableKeepAlives(rt http.RoundTripper) http.RoundTripper {
}

func (c *CRProxy) ping(host string) error {
c.mutClientset.Lock()
defer c.mutClientset.Unlock()

if c.logger != nil {
c.logger.Println("ping", host)
}
Expand Down

0 comments on commit 331e837

Please sign in to comment.