From aaabc916eba00f99de4f602f49f0fd1e4315c173 Mon Sep 17 00:00:00 2001 From: Venkatesh Mankena Date: Wed, 14 Jul 2021 07:17:33 +0530 Subject: [PATCH] Increasing auto resync interval --- orchestrator/main_loops.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orchestrator/main_loops.go b/orchestrator/main_loops.go index 3e3a1e8d..69d81cd1 100644 --- a/orchestrator/main_loops.go +++ b/orchestrator/main_loops.go @@ -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