Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typos in Media #14708

Merged
merged 3 commits into from
Nov 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/OrchardCore.Cms.Web/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
// "SupportedSizes": [ 16, 32, 50, 100, 160, 240, 480, 600, 1024, 2048 ],
// "MaxBrowserCacheDays": 30,
// "MaxCacheDays": 365,
// "ResizedCacheMaxStale": "01:00:00", // The time before a staled item is removed from the resized media cache, if not provided there is no cleanup.
// "RemoteCacheMaxStale": "01:00:00", // The time before a staled item is removed from the remote media cache, if not provided there is no cleanup.
// "ResizedCacheMaxStale": "01:00:00", // The time before a stale item is removed from the resized media cache, if not provided there is no cleanup.
// "RemoteCacheMaxStale": "01:00:00", // The time before a stale item is removed from the remote media cache, if not provided there is no cleanup.
// "MaxFileSize": 30000000,
// "CdnBaseUrl": "https://your-cdn.com",
// "AssetsRequestPath": "/media",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace OrchardCore.Media.Services;

[BackgroundTask(Schedule = "30 0 * * *", Description = "'Remote media cache cleanup.")]
[BackgroundTask(Schedule = "30 0 * * *", Description = "Remote media cache cleanup.")]
public class RemoteMediaCacheBackgroundTask : IBackgroundTask
{
private static readonly EnumerationOptions _enumerationOptions = new() { RecurseSubdirectories = true };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace OrchardCore.Media.Services;

[BackgroundTask(Schedule = "0 0 * * *", Description = "'Resized media cache cleanup.")]
[BackgroundTask(Schedule = "0 0 * * *", Description = "Resized media cache cleanup.")]
public class ResizedMediaCacheBackgroundTask : IBackgroundTask
{
private static readonly EnumerationOptions _enumerationOptions = new() { RecurseSubdirectories = true };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public class MediaOptions
public int MaxCacheDays { get; set; }

/// <summary>
/// The time before a staled item is removed from the resized media cache, if not provided there is no cleanup.
/// The time before a stale item is removed from the resized media cache, if not provided there is no cleanup.
/// </summary>
public TimeSpan? ResizedCacheMaxStale { get; set; }

/// <summary>
/// The time before a staled remote media item is removed from the cache, if not provided there is no cleanup.
/// The time before a stale remote media item is removed from the cache, if not provided there is no cleanup.
/// </summary>
public TimeSpan? RemoteCacheMaxStale { get; set; }

Expand Down