node/pkg/solana: double number of max retries

This should reduce the number of misses during periods of heavy weather
and high winds, at the expense of increasing load on the RPC nodes.

commit-id:98704274
This commit is contained in:
Leo 2021-12-20 22:25:54 +01:00 committed by Leopold Schabel
parent d8d3a92dae
commit fce50e7c48
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ var (
const rpcTimeout = time.Second * 5
// Maximum retries for Solana fetching
const maxRetries = 5
const maxRetries = 10
const retryDelay = 5 * time.Second
type ConsistencyLevel uint8