Skip to content

Commit

Permalink
Use instrumented cache on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelreiswildlife committed Sep 26, 2023
1 parent fcfd888 commit c762929
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ func (app *App) configureEnrichment() {
})

enrichCache := enrichercache.NewEnricherRedisCache(redisClient)
enrichCache = enrichercache.NewInstrumentedCache(enrichCache, app.DDStatsD)
app.Enricher = enrichercache.NewCachedEnricher(
enrichCache,
app.Enricher,
Expand Down

0 comments on commit c762929

Please sign in to comment.