3 references to CachedFileValidityInHours
Microsoft.TemplateSearch.Common (3)
Providers\NuGetMetadataSearchProvider.cs (3)
143
if (lastWriteTimeUtc.AddHours(
CachedFileValidityInHours
) > utcNow)
145
_logger.LogDebug("The search cache was updated less than {0} hours ago, the update will be skipped.",
CachedFileValidityInHours
);
148
_logger.LogDebug("The search cache was updated more than {0} hours ago, and needs to be updated.",
CachedFileValidityInHours
);