Skip to content

Commit c70a58d

Browse files
committed
Updated getTimeout() to get the timeout
1 parent 5df782a commit c70a58d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/rpc_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ func (p *rpcConfig) getDelay() time.Duration {
1919
}
2020

2121
func (p *rpcConfig) getTimeout() time.Duration {
22-
return time.Second * time.Duration(p.PerClient.Retries)
22+
return time.Second * time.Duration(p.PerClient.Timeout)
2323
}

0 commit comments

Comments
 (0)