testcontainers-go icon indicating copy to clipboard operation
testcontainers-go copied to clipboard

[Enhancement]: review use of client.Close

Open stevenh opened this issue 1 year ago • 0 comments

Proposal

We should review the use of client.Close() which is pretty pervasive in the code and could be causing unnecessary connection churn.

I would expect 99% of all clients to use an underlying default client much like the stdlib http, which allows it to consistently reuse connections avoiding the overhead of establishing new ones.

stevenh avatar Sep 10 '24 19:09 stevenh