mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-15 16:28:30 +01:00
Reduced timeout for faster failures
This commit is contained in:
1 parent
7650f87054
commit
9f9b6710b2
1 file changed
+1
-1
@@ -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