Rename file

This commit is contained in:
Jeff Leung 2024-01-04 23:18:50 -08:00
parent 94b7234b42
commit 6c7a007f96
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ namespace AS1024.GeoFeed.GeoFeedBuilder
{
logger.LogInformation("Preloading GeoFeed data in memory...");
var feed = await provider.GetGeoFeedData();
var cacheEntryOptions = new MemoryCacheEntryOptions().SetAbsoluteExpiration(TimeSpan.FromHours(1));
var cacheEntryOptions = new MemoryCacheEntryOptions().SetAbsoluteExpiration(TimeSpan.FromMinutes(45));
memoryCache.Set(GeoFeedCacheKey, feed, cacheEntryOptions);
}