mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-21 00:05:26 +03:00
decrease frequency of hitting remote notifications url
This commit is contained in:
@@ -27,7 +27,7 @@ namespace MediaBrowser.Server.Implementations.EntryPoints.Notifications
|
|||||||
private readonly INotificationsRepository _notificationsRepo;
|
private readonly INotificationsRepository _notificationsRepo;
|
||||||
private readonly IUserManager _userManager;
|
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);
|
private readonly TimeSpan _maxAge = TimeSpan.FromDays(31);
|
||||||
|
|
||||||
public RemoteNotifications(IApplicationPaths appPaths, ILogger logger, IHttpClient httpClient, IJsonSerializer json, INotificationsRepository notificationsRepo, IUserManager userManager)
|
public RemoteNotifications(IApplicationPaths appPaths, ILogger logger, IHttpClient httpClient, IJsonSerializer json, INotificationsRepository notificationsRepo, IUserManager userManager)
|
||||||
|
|||||||
Reference in New Issue
Block a user