Skip to content

Commit

Permalink
Increasing auto resync interval
Browse files Browse the repository at this point in the history
  • Loading branch information
mankenavenkatesh committed Jul 14, 2021
1 parent c94e9af commit aaabc91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orchestrator/main_loops.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func (s *peggyOrchestrator) EthOracleMainLoop(ctx context.Context) (err error) {
2. if validator was in UnBonding state, the claims broadcasted in last iteration are failed.
3. if infura call failed while filtering events, the peggo missed to broadcast claim events occured in last iteration.
**/
if time.Since(lastResync) >= 10*time.Hour {
if time.Since(lastResync) >= 48*time.Hour {
if err := retry.Do(func() (err error) {
lastCheckedBlock, err = s.GetLastCheckedBlock(ctx)
return
Expand Down

0 comments on commit aaabc91

Please sign in to comment.