@@ -656,7 +656,7 @@ export class NodeCommand extends BaseCommand {
656
656
for ( const nodeId of ctx . config . nodeIds ) {
657
657
subTasks . push ( {
658
658
title : `Check proxy for node: ${ chalk . yellow ( nodeId ) } ` ,
659
- task : async ( ) => await self . checkNetworkNodeProxyUp ( nodeId , localPort ++ , 50 )
659
+ task : async ( ) => await self . checkNetworkNodeProxyUp ( nodeId , localPort ++ )
660
660
} )
661
661
}
662
662
@@ -693,7 +693,7 @@ export class NodeCommand extends BaseCommand {
693
693
* @param delay the delay between attempts
694
694
* @returns {Promise<boolean> } true if the proxy is up
695
695
*/
696
- async checkNetworkNodeProxyUp ( nodeId , localPort , maxAttempts = 10 , delay = 5000 ) {
696
+ async checkNetworkNodeProxyUp ( nodeId , localPort , maxAttempts = 20 , delay = 5000 ) {
697
697
const podArray = await this . k8 . getPodsByLabel ( [ `app=haproxy-${ nodeId } ` , 'fullstack.hedera.com/type=haproxy' ] )
698
698
699
699
let attempts = 0
@@ -1045,7 +1045,7 @@ export class NodeCommand extends BaseCommand {
1045
1045
for ( const nodeId of ctx . config . nodeIds ) {
1046
1046
subTasks . push ( {
1047
1047
title : `Check proxy for node: ${ chalk . yellow ( nodeId ) } ` ,
1048
- task : async ( ) => await self . checkNetworkNodeProxyUp ( nodeId , localPort ++ , 50 )
1048
+ task : async ( ) => await self . checkNetworkNodeProxyUp ( nodeId , localPort ++ )
1049
1049
} )
1050
1050
}
1051
1051
0 commit comments