Used documented settings for the media seed cache. (#18723)
This commit is contained in:
@@ -291,8 +291,8 @@ internal class MediaCacheService : IMediaCacheService
|
||||
|
||||
private HybridCacheEntryOptions GetSeedEntryOptions() => new()
|
||||
{
|
||||
Expiration = _cacheSettings.SeedCacheDuration,
|
||||
LocalCacheExpiration = _cacheSettings.SeedCacheDuration,
|
||||
Expiration = _cacheSettings.Entry.Media.SeedCacheDuration,
|
||||
LocalCacheExpiration = _cacheSettings.Entry.Media.SeedCacheDuration,
|
||||
};
|
||||
|
||||
private string GetCacheKey(Guid key, bool preview) => preview ? $"{key}+draft" : $"{key}";
|
||||
|
||||
Reference in New Issue
Block a user