Browse Source

Fix data gathering blocked by failed jobs

pull/7720/head
Thomas Kaul 4 days ago
parent
commit
812f435f39
  1. 6
      libs/common/src/lib/config.ts

6
libs/common/src/lib/config.ts

@ -195,7 +195,7 @@ export const E_MAIL_LINE_BREAK = '%0D%0A';
export const GATHER_ASSET_PROFILE_PROCESS_JOB_NAME = 'GATHER_ASSET_PROFILE'; export const GATHER_ASSET_PROFILE_PROCESS_JOB_NAME = 'GATHER_ASSET_PROFILE';
export const GATHER_ASSET_PROFILE_PROCESS_JOB_OPTIONS: JobOptions = { export const GATHER_ASSET_PROFILE_PROCESS_JOB_OPTIONS: JobOptions = {
attempts: 6, // Retries after 1, 2, 4, 8 and 16 minutes (31 minutes in total) attempts: 6, // Retries after 1, 3, 7, 15 and 31 minutes (57 minutes in total)
backoff: { backoff: {
delay: ms('1 minute'), delay: ms('1 minute'),
type: 'exponential' type: 'exponential'
@ -209,7 +209,7 @@ export const GATHER_HISTORICAL_MARKET_DATA_COOLDOWN_IN_MS = ms('12 hours');
export const GATHER_HISTORICAL_MARKET_DATA_PROCESS_JOB_NAME = export const GATHER_HISTORICAL_MARKET_DATA_PROCESS_JOB_NAME =
'GATHER_HISTORICAL_MARKET_DATA'; 'GATHER_HISTORICAL_MARKET_DATA';
export const GATHER_HISTORICAL_MARKET_DATA_PROCESS_JOB_OPTIONS: JobOptions = { export const GATHER_HISTORICAL_MARKET_DATA_PROCESS_JOB_OPTIONS: JobOptions = {
attempts: 6, // Retries after 1, 2, 4, 8 and 16 minutes (31 minutes in total) attempts: 6, // Retries after 1, 3, 7, 15 and 31 minutes (57 minutes in total)
backoff: { backoff: {
delay: ms('1 minute'), delay: ms('1 minute'),
type: 'exponential' type: 'exponential'
@ -220,7 +220,7 @@ export const GATHER_HISTORICAL_MARKET_DATA_PROCESS_JOB_OPTIONS: JobOptions = {
}; };
export const GATHER_STATISTICS_PROCESS_JOB_OPTIONS: JobOptions = { export const GATHER_STATISTICS_PROCESS_JOB_OPTIONS: JobOptions = {
attempts: 6, // Retries after 1, 2, 4, 8 and 16 minutes (31 minutes in total) attempts: 6, // Retries after 1, 3, 7, 15 and 31 minutes (57 minutes in total)
backoff: { backoff: {
delay: ms('1 minute'), delay: ms('1 minute'),
type: 'exponential' type: 'exponential'

Loading…
Cancel
Save