[CHANGE] Remove anon accounts && added simple caching for urls
This commit is contained in:
@@ -27,7 +27,9 @@ public partial class Services : ComponentBase
|
||||
private List<ServiceEvent> GetInitialEvents()
|
||||
{
|
||||
var totalToGet = 1000 / _backgroundServices.Count;
|
||||
var initial = _backgroundServices.SelectMany(x => x.ProgressEvents.Items.TakeLast(totalToGet));
|
||||
var initial = _backgroundServices
|
||||
.SelectMany(x => x.ProgressEvents.Items.TakeLast(totalToGet))
|
||||
.OrderBy(x => x.DateUtc);
|
||||
return initial.ToList();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user