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 <git@lukas-mertens.de>

commit-id:fdcfca23
  • Loading branch information
lukas-mertens committed Apr 19, 2024
1 parent 5e9f2c2 commit 38c1e07
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 38c1e07

Please sign in to comment.