File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/executors/external-bundler-async Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ import {
3030 isAccountDeploying ,
3131 setAccountDeploying ,
3232} from "./state" ;
33+ import { env } from "../../lib/env" ;
3334
3435// todo: export these from SDK
3536export type PostOpRevertReasonEventFilters = Partial < {
@@ -352,7 +353,7 @@ export const sendWorker = new Worker<ExecutionRequest, SendResult>(
352353 } ,
353354 {
354355 connection : redis ,
355- concurrency : 100 ,
356+ concurrency : env . SEND_TRANSACTION_QUEUE_CONCURRENCY ,
356357 settings : {
357358 backoffStrategy : ( attemptsMade : number ) => {
358359 if ( attemptsMade === 1 ) return 2000 ; // First check after 2s
@@ -545,7 +546,7 @@ export const confirmWorker = new Worker<SendResult, ConfirmationResult>(
545546 } ,
546547 {
547548 connection : redis ,
548- concurrency : 500 ,
549+ concurrency : env . CONFIRM_TRANSACTION_QUEUE_CONCURRENCY ,
549550 settings : {
550551 backoffStrategy : ( attemptsMade : number ) => {
551552 if ( attemptsMade === 1 ) return 2000 ; // First check after 2s
You can’t perform that action at this time.
0 commit comments