Skip to content

Commit

Permalink
chore: typo + log level
Browse files Browse the repository at this point in the history
  • Loading branch information
agparadiso committed Mar 7, 2024
1 parent 2d09526 commit f2b3e96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/services/s4/cached_orm_wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f2b3e96

Please sign in to comment.