Skip to content

Commit

Permalink
feat(cli): Display estimated latency of nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
aholstenson committed Jun 7, 2021
1 parent 546e867 commit 9f93f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/commands/inspect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const handler = async (args: any) => {
if(node.id === net.networkId) return;

requeueQuiet();
log(chalk.green(' Available '), node.id);
log(chalk.green(' Available '), node.id, chalk.dim(node.estimatedLatency + 'ms'));
});

net.onNodeUnavailable(node => {
Expand Down

0 comments on commit 9f93f78

Please sign in to comment.