-
Notifications
You must be signed in to change notification settings - Fork 471
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: increase initial gateway search interval (#2936)
During startup, search for gatweways at a more rapid pace, then slow down the search once gateways have been discovered.
- Loading branch information
1 parent
c1d0b7f
commit 66c3ec5
Showing
4 changed files
with
120 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
export const DEFAULT_INITIAL_GATEWAY_SEARCH_INTERVAL = 5_000 | ||
export const DEFAULT_INITIAL_GATEWAY_SEARCH_TIMEOUT = 5_000 | ||
export const DEFAULT_INITIAL_GATEWAY_SEARCH_MESSAGE_INTERVAL = 1_000 | ||
|
||
export const DEFAULT_GATEWAY_SEARCH_TIMEOUT = 60_000 | ||
export const DEFAULT_GATEWAY_SEARCH_INTERVAL = 300_000 | ||
export const DEFAULT_GATEWAY_SEARCH_MESSAGE_INTERVAL = 10_000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters