Skip to content

Commit

Permalink
chore(loopbackRpcIssuer): reduced random wait
Browse files Browse the repository at this point in the history
In most cases the random wait doesn't help, as users just want to use
the admin panel, not test how it reacts to bad network condition. For
now I just reduced it, maybe later we can add a toggle

Signed-off-by: Lukas Mertens <[email protected]>

commit-id:fdcfca23
  • Loading branch information
lukas-mertens committed Apr 22, 2024
1 parent 0580186 commit f05e98d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/evbc/rpc/loopbackRpcIssuer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class LoopbackRpcIssuer extends RpcIssuer {
}

public async get_rpc_timeout(): Promise<number> {
return this.random_wait_resolve<number>(5000);
return this.random_wait_resolve<number>(100);
}

protected async issue_rpc<T>(): Promise<T> {
Expand Down

0 comments on commit f05e98d

Please sign in to comment.