Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Su <[email protected]>
  • Loading branch information
pingsutw committed Sep 26, 2023
1 parent a3a8536 commit 5ea45af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cache/auto_refresh.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ func (w *autoRefresh) sync(ctx context.Context) (err error) {
item, ok := w.lruMap.Get(itemID)
if !ok {
logger.Debugf(ctx, "item with id [%v] not found in cache", itemID)
t.Stop()
continue

Check warning on line 290 in cache/auto_refresh.go

View check run for this annotation

Codecov / codecov/patch

cache/auto_refresh.go#L288-L290

Added lines #L288 - L290 were not covered by tests
}
updatedBatch, err := w.syncCb(ctx, Batch{itemWrapper{
Expand Down

0 comments on commit 5ea45af

Please sign in to comment.