mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-14 02:07:59 -07:00
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:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user