From c9bc9660f6f5d0e79d5de1fe4e2102c9b0f8dbac Mon Sep 17 00:00:00 2001 From: ftocal <46001274+ftocal@users.noreply.github.com> Date: Thu, 8 Feb 2024 12:10:13 -0300 Subject: [PATCH] Remove redis in txHash store (#1112) --- fly/builder/observation.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/fly/builder/observation.go b/fly/builder/observation.go index 67c1e0b5..1e124433 100644 --- a/fly/builder/observation.go +++ b/fly/builder/observation.go @@ -57,10 +57,6 @@ func NewTxHashStore(ctx context.Context, config *config.Configuration, metrics m var txHashStores []txhash.TxHashStore txHashStores = append(txHashStores, txhash.NewCacheTxHash(cacheTxHash, 30*time.Minute, logger)) - if !config.IsLocal { - redisClient := NewRedisClient(config) - txHashStores = append(txHashStores, txhash.NewRedisTxHash(redisClient, config.Redis.RedisPrefix, 30*time.Minute, logger)) - } txHashStores = append(txHashStores, txhash.NewMongoTxHash(db, logger)) txHashStore := txhash.NewComposite(txHashStores, metrics, logger) dedupTxHashStore := txhash.NewDedupTxHashStore(txHashStore, deduplicator, logger)