diff --git a/services/blockchain-indexer/config.js b/services/blockchain-indexer/config.js index 5156822f22..fc57b117fd 100644 --- a/services/blockchain-indexer/config.js +++ b/services/blockchain-indexer/config.js @@ -103,19 +103,6 @@ config.queue = { name: 'IndexBlocks', concurrency: 1, scheduledJobsMaxCount: Number(process.env.INDEX_BLOCKS_QUEUE_SCHEDULED_JOB_MAX_COUNT) || 100000, - options: { - defaultJobOptions: { - attempts: 5, - timeout: 5 * 60 * 1000, // millisecs - removeOnComplete: true, - removeOnFail: true, - stackTraceLimit: 0, - }, - limiter: { - max: 600, - duration: 1 * 60 * 1000, - }, - }, }, indexAccountPublicKey: { name: 'PendingPublickeyUpdates', diff --git a/services/blockchain-indexer/shared/indexer/blockchainIndex.js b/services/blockchain-indexer/shared/indexer/blockchainIndex.js index 6ff71df8e1..cf6f430f16 100644 --- a/services/blockchain-indexer/shared/indexer/blockchainIndex.js +++ b/services/blockchain-indexer/shared/indexer/blockchainIndex.js @@ -699,7 +699,6 @@ const initBlockProcessingQueues = async () => { config.queue.indexBlocks.name, indexBlock, config.queue.indexBlocks.concurrency, - config.queue.indexBlocks.options, ); deleteIndexedBlocksQueue = Queue( diff --git a/services/export/config.js b/services/export/config.js index 78f71fec92..51ac232980 100644 --- a/services/export/config.js +++ b/services/export/config.js @@ -82,11 +82,11 @@ config.queue = { options: { defaultJobOptions: { attempts: 5, + timeout: 5 * 60 * 1000, // millisecs backoff: { type: 'exponential', delay: 1 * 60 * 1000, // millisecs }, - timeout: 5 * 60 * 1000, // millisecs removeOnComplete: true, removeOnFail: true, stackTraceLimit: 0,