Skip to content

Commit 7f67e65

Browse files
authored
fix(datalayer): set maxIdleTime to Transport.IdleConnTimeout (#2043)
Signed-off-by: Iceber Gu <caiwei95@hotmail.com>
1 parent b4cd2b2 commit 7f67e65

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • pkg/epp/framework/plugins/datalayer/source/http

pkg/epp/framework/plugins/datalayer/source/http/client.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ var (
5959
baseTransport = &http.Transport{
6060
MaxIdleConns: maxIdleConnections,
6161
MaxIdleConnsPerHost: maxIdleConnsPerHost,
62+
IdleConnTimeout: maxIdleTime,
6263
// TODO: set additional timeouts, transport options, etc.
6364
}
6465
)

0 commit comments

Comments
 (0)