Browse Source

Reduced timeout for faster failures

pull/7160/head
chrislu 1 month ago
parent
commit
9f9b6710b2
  1. 2
      weed/iam/oidc/oidc_provider.go

2
weed/iam/oidc/oidc_provider.go

@ -79,7 +79,7 @@ type JWK struct {
func NewOIDCProvider(name string) *OIDCProvider {
return &OIDCProvider{
name: name,
httpClient: &http.Client{Timeout: 30 * time.Second},
httpClient: &http.Client{Timeout: 5 * time.Second}, // Reduced timeout for faster failures
}
}

Loading…
Cancel
Save