Merge pull request #17201 from hashicorp/jbardin/disco-timeout
extend disco timeout
This commit is contained in:
commit
5f72c97e70
|
@ -26,7 +26,7 @@ import (
|
||||||
const (
|
const (
|
||||||
discoPath = "/.well-known/terraform.json"
|
discoPath = "/.well-known/terraform.json"
|
||||||
maxRedirects = 3 // arbitrary-but-small number to prevent runaway redirect loops
|
maxRedirects = 3 // arbitrary-but-small number to prevent runaway redirect loops
|
||||||
discoTimeout = 4 * time.Second // arbitrary-but-small time limit to prevent UI "hangs" during discovery
|
discoTimeout = 11 * time.Second // arbitrary-but-small time limit to prevent UI "hangs" during discovery
|
||||||
maxDiscoDocBytes = 1 * 1024 * 1024 // 1MB - to prevent abusive services from using loads of our memory
|
maxDiscoDocBytes = 1 * 1024 * 1024 // 1MB - to prevent abusive services from using loads of our memory
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue