mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-08-19 13:46:58 +00:00
Reduced timeout for faster failures
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user