diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-07-16 16:02:30 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-07-16 16:02:30 -0400 |
| commit | a03b99a229805f0298e7608bf4ec9bcb7e566af0 (patch) | |
| tree | bf4de36b3e561bdf437adc839824d9d10cb27a4c /MediaBrowser.Server.Implementations/EntryPoints/Notifications/RemoteNotifications.cs | |
| parent | 65fee19105857b61078495f8a5aee1f8c7005f01 (diff) | |
updated ffmpeg
Diffstat (limited to 'MediaBrowser.Server.Implementations/EntryPoints/Notifications/RemoteNotifications.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/EntryPoints/Notifications/RemoteNotifications.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Server.Implementations/EntryPoints/Notifications/RemoteNotifications.cs b/MediaBrowser.Server.Implementations/EntryPoints/Notifications/RemoteNotifications.cs index 7a824f991..b4c1af2b7 100644 --- a/MediaBrowser.Server.Implementations/EntryPoints/Notifications/RemoteNotifications.cs +++ b/MediaBrowser.Server.Implementations/EntryPoints/Notifications/RemoteNotifications.cs @@ -27,7 +27,7 @@ namespace MediaBrowser.Server.Implementations.EntryPoints.Notifications private readonly INotificationsRepository _notificationsRepo; private readonly IUserManager _userManager; - private readonly TimeSpan _frequency = TimeSpan.FromHours(12); + private readonly TimeSpan _frequency = TimeSpan.FromHours(1); private readonly TimeSpan _maxAge = TimeSpan.FromDays(31); public RemoteNotifications(IApplicationPaths appPaths, ILogger logger, IHttpClient httpClient, IJsonSerializer json, INotificationsRepository notificationsRepo, IUserManager userManager) @@ -58,7 +58,7 @@ namespace MediaBrowser.Server.Implementations.EntryPoints.Notifications var lastRunTime = File.Exists(dataPath) ? File.GetLastWriteTimeUtc(dataPath) : DateTime.MinValue; - //if ((DateTime.UtcNow - lastRunTime) >= _frequency) + if ((DateTime.UtcNow - lastRunTime) >= _frequency) { try { |
