@page "/admin/system/hangfire"
@using Microsoft.AspNetCore.Authorization
@using MoonCore.Helpers
@using Moonlight.Shared.Http.Responses.Admin.Hangfire
@using Moonlight.Client.UI.Components
@attribute [Authorize(Policy = "permissions:admin.system.hangfire")]
@inject HttpApiClient ApiClient
Hangfire is used to run scheduled and repeating tasks scalable via multiple instances. Here you can see a bunch of stats of the integrated hangfire instance
@code
{
private HangfireStatsResponse Stats;
private async Task Load(LazyLoader _)
{
Stats = await ApiClient.GetJson(
"api/admin/system/hangfire/stats"
);
}
}