Merge pull request #2365 from nats-io/fetch-timeout

[changed] default account fetch timeout to be smaller as client timeout
This commit is contained in:
Matthias Hanel
2021-07-19 12:55:41 -04:00
committed by GitHub

View File

@@ -202,5 +202,5 @@ const (
DEFAULT_GLOBAL_ACCOUNT = "$G"
// DEFAULT_FETCH_TIMEOUT is the default time that the system will wait for an account fetch to return.
DEFAULT_ACCOUNT_FETCH_TIMEOUT = 2 * time.Second
DEFAULT_ACCOUNT_FETCH_TIMEOUT = 1900 * time.Millisecond
)