You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the code we are using default value for KeepAlive meaning the connection will stay opened for 60s except if use setting --headers "Connection: close".
In the code we are using default value for KeepAlive meaning the connection will stay opened for 60s except if use setting
--headers "Connection: close"
.I think we should configure the Http Transport config MaxIdleConns, MaxIdleConnsPerHost, IdleConnTimeout in the file:
https://github.com/Kong/go-database-reconciler/blob/main/pkg/utils/types.go
For instance:
transport := &http.Transport{ IdleConnTimeout: 30 * time.Second, // Custom idle timeout MaxIdleConns: 10, // Max idle connections MaxIdleConnsPerHost: 5, // Max idle connections per host }
I think they fields should be configurable as cmd line parameters.
The text was updated successfully, but these errors were encountered: