node/pkg/solana: add delay for retries
Change-Id: I106300e802420ef50f1309825aecf37bb18d4c20
This commit is contained in:
parent
49c3be0b79
commit
a6fe7fc54c
|
@ -216,6 +216,8 @@ func (s *SolanaWatcher) retryFetchBlock(ctx context.Context, slot uint64, retry
|
|||
return
|
||||
}
|
||||
|
||||
time.Sleep(5 * time.Second)
|
||||
|
||||
s.logger.Info("retrying block",
|
||||
zap.Uint64("slot", slot),
|
||||
zap.String("commitment", string(s.commitment)),
|
||||
|
|
Loading…
Reference in New Issue