Skip to content

Commit

Permalink
another time increase
Browse files Browse the repository at this point in the history
  • Loading branch information
bonedaddy committed Mar 1, 2021
1 parent bd4b6fa commit c59af95
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/gondx/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -331,10 +331,10 @@ func main() {
}

func dbPriceUpdateLoop(ctx context.Context, bc *bclient.Client, db *db.Database, logger *zap.Logger, cfg *config.Config) {
ticker := time.NewTicker(time.Second * 180) // update every 3m
ticker := time.NewTicker(time.Second * 240) // update every 4m
defer ticker.Stop()
// update TVL every 25 minutes
tvlTicker := time.NewTicker(time.Minute * 25)
// update TVL every 35 minutes
tvlTicker := time.NewTicker(time.Minute * 35)
defer tvlTicker.Stop()

// do an initial update
Expand Down

0 comments on commit c59af95

Please sign in to comment.