Skip to content

Commit a17ec56

Browse files
committed
update proxy times
Signed-off-by: Jeromy Cannon <[email protected]>
1 parent 75558c0 commit a17ec56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/commands/node.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ export class NodeCommand extends BaseCommand {
656656
for (const nodeId of ctx.config.nodeIds) {
657657
subTasks.push({
658658
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++)
660660
})
661661
}
662662

@@ -693,7 +693,7 @@ export class NodeCommand extends BaseCommand {
693693
* @param delay the delay between attempts
694694
* @returns {Promise<boolean>} true if the proxy is up
695695
*/
696-
async checkNetworkNodeProxyUp (nodeId, localPort, maxAttempts = 10, delay = 5000) {
696+
async checkNetworkNodeProxyUp (nodeId, localPort, maxAttempts = 20, delay = 5000) {
697697
const podArray = await this.k8.getPodsByLabel([`app=haproxy-${nodeId}`, 'fullstack.hedera.com/type=haproxy'])
698698

699699
let attempts = 0
@@ -1045,7 +1045,7 @@ export class NodeCommand extends BaseCommand {
10451045
for (const nodeId of ctx.config.nodeIds) {
10461046
subTasks.push({
10471047
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++)
10491049
})
10501050
}
10511051

0 commit comments

Comments
 (0)