diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a195a28..b40c3e3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Decreased the number of attempts of queue jobs from `20` to `10` (fail earlier) - Improved the message for data provider errors in the client - Changed the label from _Balance_ to _Cash Balance_ in the account dialog diff --git a/libs/common/src/lib/config.ts b/libs/common/src/lib/config.ts index e8fc6561..9344b6ec 100644 --- a/libs/common/src/lib/config.ts +++ b/libs/common/src/lib/config.ts @@ -52,7 +52,7 @@ export const DEFAULT_DATE_FORMAT_MONTH_YEAR = 'MMM yyyy'; export const GATHER_ASSET_PROFILE_PROCESS = 'GATHER_ASSET_PROFILE'; export const GATHER_ASSET_PROFILE_PROCESS_OPTIONS: JobOptions = { - attempts: 20, + attempts: 10, backoff: { delay: ms('1 minute'), type: 'exponential' @@ -65,7 +65,7 @@ export const GATHER_ASSET_PROFILE_PROCESS_OPTIONS: JobOptions = { export const GATHER_HISTORICAL_MARKET_DATA_PROCESS = 'GATHER_HISTORICAL_MARKET_DATA'; export const GATHER_HISTORICAL_MARKET_DATA_PROCESS_OPTIONS: JobOptions = { - attempts: 20, + attempts: 10, backoff: { delay: ms('1 minute'), type: 'exponential'