hourly stats and daily rollup

This commit is contained in:
Alex Holliday committed 2025-12-17 19:20:03 +00:00
1 parent e1db8ea513
commit 59e85f7613
10 files changed
+1132 -19

No files matched your search

+4 -1
View File
@@ -29,6 +29,7 @@ import {
SettingsService,
StripeService,
BillingService,
StatsAggregationService,
} from "@/services/index.js";
import { EntitlementsFactory } from "@/services/system/EntitlementsService.js";
import { MeService } from "@/services/index.js";
@@ -55,6 +56,7 @@ export const initServices = async () => {
settingsService
);
const incidentService = new IncidentService();
const statsAggregationService = new StatsAggregationService();
const jobGenerator = new JobGenerator(
networkService,
checkService,
@@ -62,7 +64,8 @@ export const initServices = async () => {
statusService,
notificationService,
incidentService,
maintenanceService
maintenanceService,
statsAggregationService
);
const jobQueue = await JobQueue.create(jobGenerator);
const entitlementsProvider = EntitlementsFactory.create();