aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-07-27 01:03:34 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-07-27 01:03:34 -0400
commitd440e89c507ba1c764c24d53bfe85d747b7beb8b (patch)
tree28a5a2c5dd6b95095b0c4c9b9dc818289172ef6e /MediaBrowser.Server.Implementations/Library/LibraryManager.cs
parent1bf9c446d93f5b9aae9a8f24439690beb0be3295 (diff)
update schedules direct page
Diffstat (limited to 'MediaBrowser.Server.Implementations/Library/LibraryManager.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Library/LibraryManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
index bdc94b88b..8d51e3e92 100644
--- a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
+++ b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
@@ -1615,7 +1615,7 @@ namespace MediaBrowser.Server.Implementations.Library
.FirstOrDefault(i => !string.IsNullOrWhiteSpace(i));
}
- private readonly TimeSpan _viewRefreshInterval = TimeSpan.FromHours(24);
+ private readonly TimeSpan _viewRefreshInterval = TimeSpan.FromHours(.01);
public async Task<UserView> GetNamedView(User user,
string name,
@@ -1666,7 +1666,7 @@ namespace MediaBrowser.Server.Implementations.Library
await item.UpdateToRepository(ItemUpdateType.MetadataEdit, cancellationToken).ConfigureAwait(false);
}
- if (!refresh && item != null)
+ if (!refresh)
{
refresh = (DateTime.UtcNow - item.DateLastSaved) >= _viewRefreshInterval;
}