Skip to content

Commit

Permalink
mute logs
Browse files Browse the repository at this point in the history
  • Loading branch information
tombokombo committed Oct 28, 2024
1 parent 6b0734a commit e02434c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ func (p *ProxyServer) getClientForHost(hostBackend string, timeout float32) (*ht
hostBackend = hostBackend+timeoutStr

if client, found := p.clients.Load(hostBackend); found {
log.Printf("Reuse client for host: %s", hostBackend)
return client.(*http.Client)
}
client := &http.Client{
Expand All @@ -221,7 +220,6 @@ func (p *ProxyServer) getClientForHost(hostBackend string, timeout float32) (*ht
},
}
p.clients.Store(hostBackend, client)
log.Printf("New client for host: %s", hostBackend)
return client
}

Expand Down

0 comments on commit e02434c

Please sign in to comment.