Skip to content

Commit

Permalink
Increase timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
begelundmuller committed Dec 14, 2023
1 parent fd3d077 commit 3b23f69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/connection_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ type cachedConnectionConfig struct {
func (r *Runtime) newConnectionCache() conncache.Cache {
return conncache.New(conncache.Options{
MaxConnectionsIdle: r.opts.ConnectionCacheSize,
OpenTimeout: 2 * time.Minute,
CloseTimeout: 5 * time.Minute,
OpenTimeout: 10 * time.Minute,
CloseTimeout: 10 * time.Minute,
CheckHangingInterval: time.Minute,
OpenFunc: func(ctx context.Context, cfg any) (conncache.Connection, error) {
x := cfg.(cachedConnectionConfig)
Expand Down

0 comments on commit 3b23f69

Please sign in to comment.