Browse Source
Task/refactor timeouts to use ms() (#7123)
Refactor to use ms()
pull/7121/head^2
Thomas Kaul
4 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
4 additions and
2 deletions
-
libs/common/src/lib/config.ts
|
|
|
@ -90,10 +90,12 @@ export const DEFAULT_PAGE_SIZE = 50; |
|
|
|
export const DEFAULT_PORT = 3333; |
|
|
|
export const DEFAULT_PROCESSOR_GATHER_ASSET_PROFILE_CONCURRENCY = 1; |
|
|
|
export const DEFAULT_PROCESSOR_GATHER_HISTORICAL_MARKET_DATA_CONCURRENCY = 1; |
|
|
|
export const DEFAULT_PROCESSOR_GATHER_HISTORICAL_MARKET_DATA_TIMEOUT = 60000; |
|
|
|
export const DEFAULT_PROCESSOR_GATHER_HISTORICAL_MARKET_DATA_TIMEOUT = |
|
|
|
ms('1 minute'); |
|
|
|
export const DEFAULT_PROCESSOR_GATHER_STATISTICS_CONCURRENCY = 1; |
|
|
|
export const DEFAULT_PROCESSOR_PORTFOLIO_SNAPSHOT_COMPUTATION_CONCURRENCY = 1; |
|
|
|
export const DEFAULT_PROCESSOR_PORTFOLIO_SNAPSHOT_COMPUTATION_TIMEOUT = 30000; |
|
|
|
export const DEFAULT_PROCESSOR_PORTFOLIO_SNAPSHOT_COMPUTATION_TIMEOUT = |
|
|
|
ms('30 seconds'); |
|
|
|
|
|
|
|
export const DEFAULT_REDACTED_PATHS = [ |
|
|
|
'accounts[*].balance', |
|
|
|
|