mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
fix issue with alert manager concurrency
This commit is contained in:
@ -178,7 +178,7 @@ namespace SharedLibraryCore
|
||||
ViewBag.ReportCount = Manager.GetServers().Sum(server =>
|
||||
server.Reports.Count(report => DateTime.UtcNow - report.ReportedOn <= TimeSpan.FromHours(24)));
|
||||
ViewBag.PermissionsSet = PermissionsSet;
|
||||
ViewBag.Alerts = AlertManager.RetrieveAlerts(Client).ToList();
|
||||
ViewBag.Alerts = AlertManager.RetrieveAlerts(Client);
|
||||
|
||||
base.OnActionExecuting(context);
|
||||
}
|
||||
|
Reference in New Issue
Block a user