File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import {
16
16
FREEZE_ADMIN_ACCOUNT ,
17
17
HEDERA_NODE_DEFAULT_STAKE_AMOUNT ,
18
18
IGNORED_NODE_ACCOUNT_ID ,
19
+ NODE_COPY_CONCURRENT ,
19
20
TREASURY_ACCOUNT_ID ,
20
21
} from '../../core/constants.js' ;
21
22
import { Templates } from '../../core/templates.js' ;
@@ -254,7 +255,7 @@ export class NodeCommandTasks {
254
255
}
255
256
// set up the sub-tasks
256
257
return task . newListr ( subTasks , {
257
- concurrent : true ,
258
+ concurrent : constants . NODE_COPY_CONCURRENT ,
258
259
rendererOptions : constants . LISTR_DEFAULT_RENDERER_OPTION ,
259
260
} ) ;
260
261
}
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export const SOLO_REMOTE_CONFIGMAP_NAME = 'solo-remote-config';
26
26
export const SOLO_REMOTE_CONFIGMAP_LABELS = { 'solo.hedera.com/type' : 'remote-config' } ;
27
27
export const SOLO_REMOTE_CONFIG_MAX_COMMAND_IN_HISTORY = 50 ;
28
28
export const SOLO_REMOTE_CONFIGMAP_LABEL_SELECTOR = 'solo.hedera.com/type=remote-config' ;
29
-
29
+ export const NODE_COPY_CONCURRENT = Number ( process . env . NODE_COPY_CONCURRENT ) || 4 ;
30
30
// --------------- Hedera network and node related constants --------------------------------------------------------------------
31
31
export const HEDERA_CHAIN_ID = process . env . SOLO_CHAIN_ID || '298' ;
32
32
export const HEDERA_HGCAPP_DIR = '/opt/hgcapp' ;
You can’t perform that action at this time.
0 commit comments