From f2b3e96862c8b0bdc328d74b08825c3895233fa3 Mon Sep 17 00:00:00 2001 From: Gabriel Paradiso Date: Thu, 7 Mar 2024 12:49:58 +0100 Subject: [PATCH] chore: typo + log level --- core/services/s4/cached_orm_wrapper.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/services/s4/cached_orm_wrapper.go b/core/services/s4/cached_orm_wrapper.go index a82e4e3b457..38b9ecba1ca 100644 --- a/core/services/s4/cached_orm_wrapper.go +++ b/core/services/s4/cached_orm_wrapper.go @@ -23,7 +23,7 @@ const ( ) // CachedORM is a cached orm wrapper that implements the ORM interface. -// It adds a cache layer in order to remove unnecessary preassure to the underlaying implementation +// It adds a cache layer in order to remove unnecessary pressure to the underlaying implementation type CachedORM struct { underlayingORM ORM cache *cache.Cache @@ -71,7 +71,7 @@ func (c CachedORM) GetSnapshot(addressRange *AddressRange, qopts ...pg.QOpt) ([] return cached.([]*SnapshotRow), nil } - c.lggr.Info("Snapshot not found in cache, fetching it from underlaying implementation") + c.lggr.Debug("Snapshot not found in cache, fetching it from underlaying implementation") data, err := c.underlayingORM.GetSnapshot(addressRange, qopts...) if err != nil { return nil, err