Skip to content

Commit e02434c

Browse files
committedOct 28, 2024··
mute logs
1 parent 6b0734a commit e02434c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎main.go

-2
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ func (p *ProxyServer) getClientForHost(hostBackend string, timeout float32) (*ht
199199
hostBackend = hostBackend+timeoutStr
200200

201201
if client, found := p.clients.Load(hostBackend); found {
202-
log.Printf("Reuse client for host: %s", hostBackend)
203202
return client.(*http.Client)
204203
}
205204
client := &http.Client{
@@ -221,7 +220,6 @@ func (p *ProxyServer) getClientForHost(hostBackend string, timeout float32) (*ht
221220
},
222221
}
223222
p.clients.Store(hostBackend, client)
224-
log.Printf("New client for host: %s", hostBackend)
225223
return client
226224
}
227225

0 commit comments

Comments
 (0)
Please sign in to comment.