Skip to content

Commit

Permalink
✨ fix type + wrong type assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
maxlerebourg committed Aug 18, 2023
1 parent c11a083 commit 686161c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bouncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func New(ctx context.Context, next http.Handler, config *configuration.Config, n
IdleConnTimeout: 30 * time.Second,
TLSClientConfig: tlsConfig,
},
Timeout: config.defaultTimeoutSeconds * time.Second,
Timeout: time.Duration(config.DefaultTimeoutSeconds) * time.Second,
},
cacheClient: &cache.Client{},
}
Expand Down

0 comments on commit 686161c

Please sign in to comment.