Skip to content

Commit

Permalink
reduce wait time after all pods running, fix relayer port forwarding
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 committed Jun 17, 2024
1 parent 6774b64 commit 6e7533d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clients/js/packages/client/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ export class StarshipClient implements StarshipClientI {
} else {
this.log(chalk.green('All pods are running!'));
// once the pods are in running state, wait for 10 more seconds
await new Promise(resolve => setTimeout(resolve, 10000));
await new Promise(resolve => setTimeout(resolve, 5000));
}
}

Expand Down Expand Up @@ -478,7 +478,7 @@ export class StarshipClient implements StarshipClientI {
if (localPort !== undefined && externalPort !== undefined) {
this.exec([
"kubectl", "port-forward",
`pods/${relayer.name}-0`,
`pods/${relayer.type}-${relayer.name}-0`,
`${localPort}:${externalPort}`,
...this.getArgs(),
">", "/dev/null",
Expand Down

0 comments on commit 6e7533d

Please sign in to comment.