Skip to content

Commit

Permalink
Typos in Media (#14708)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtkech authored Nov 18, 2023
1 parent 18761a0 commit 784ee7d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
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

0 comments on commit 784ee7d

Please sign in to comment.