remove dangling reference to ApLogCleanupService

This commit is contained in:
Hazelnoot 2025-06-26 11:42:16 -04:00
parent 4a341a53d0
commit 9fcdd8e513

View file

@ -13,7 +13,6 @@ import { ServerStatsService } from '@/daemons/ServerStatsService.js';
import { ServerService } from '@/server/ServerService.js'; import { ServerService } from '@/server/ServerService.js';
import { MainModule } from '@/MainModule.js'; import { MainModule } from '@/MainModule.js';
import { EnvService } from '@/global/EnvService.js'; import { EnvService } from '@/global/EnvService.js';
import { ApLogCleanupService } from '@/daemons/ApLogCleanupService.js';
export async function server() { export async function server() {
const app = await NestFactory.createApplicationContext(MainModule, { const app = await NestFactory.createApplicationContext(MainModule, {
@ -32,7 +31,6 @@ export async function server() {
if (!envService.options.noDaemons) { if (!envService.options.noDaemons) {
app.get(QueueStatsService).start(); app.get(QueueStatsService).start();
app.get(ServerStatsService).start(); app.get(ServerStatsService).start();
app.get(ApLogCleanupService).start();
} }
return app; return app;