Rename file

This commit is contained in:
2024-01-04 23:18:50 -08:00
parent 94b7234b42
commit 6c7a007f96

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);
}