Skip to content

Commit

Permalink
update behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
iammukeshm committed Jun 23, 2024
1 parent 5d6ac58 commit bf11410
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ async Task<TResponse> GetResponseAndAddToCache()
{
response = JsonSerializer.Deserialize<TResponse>(Encoding.Default.GetString(cachedResponse))!;
logger.LogInformation("fetched from cache with key : {CacheKey}", request.CacheKey);
cache.Refresh(request.CacheKey);
}
else
{
Expand Down

0 comments on commit bf11410

Please sign in to comment.