Преглед на файлове

decrease frequency of hitting remote notifications url

Luke Pulverenti преди 12 години
родител
ревизия
0f47fb719f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      MediaBrowser.Server.Implementations/EntryPoints/Notifications/RemoteNotifications.cs

+ 1 - 1
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(3);
+        private readonly TimeSpan _frequency = TimeSpan.FromHours(6);
         private readonly TimeSpan _maxAge = TimeSpan.FromDays(31);
 
         public RemoteNotifications(IApplicationPaths appPaths, ILogger logger, IHttpClient httpClient, IJsonSerializer json, INotificationsRepository notificationsRepo, IUserManager userManager)