Skip to content

Commit

Permalink
fix:reduced concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
mckrava committed Feb 20, 2024
1 parent 2de7778 commit c212d4c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class AccountAggregationFlowConsumer {

@Process({
name: SubIdAggregatorJobName.REFRESH_TX_HISTORY_FOR_ACCOUNT_ON_DEMAND,
concurrency: 300,
concurrency: 100,
})
async refreshTxHistory(job: Job<RefreshAccountTxHistoryJobDataDto>) {
await job.takeLock();
Expand Down Expand Up @@ -53,7 +53,7 @@ export class AccountAggregationFlowConsumer {

@Process({
name: SubIdAggregatorJobName.REFRESH_TX_HISTORY_FOR_ACCOUNT_SCHEDULED,
concurrency: 300,
concurrency: 100,
})
async refreshTxHistoryScheduled(job: Job<RefreshAccountTxHistoryJobDataDto>) {
await job.takeLock();
Expand Down

0 comments on commit c212d4c

Please sign in to comment.