misskey-awawa/packages/backend/src/daemons/DaemonModule.ts

27 lines
588 B
TypeScript

/*
* SPDX-FileCopyrightText: syuilo and other misskey contributors
* SPDX-License-Identifier: AGPL-3.0-only
*/
import { Module } from '@nestjs/common';
import { CoreModule } from '@/core/CoreModule.js';
import { GlobalModule } from '@/GlobalModule.js';
import { QueueStatsService } from './QueueStatsService.js';
import { ServerStatsService } from './ServerStatsService.js';
@Module({
imports: [
GlobalModule,
CoreModule,
],
providers: [
QueueStatsService,
ServerStatsService,
],
exports: [
QueueStatsService,
ServerStatsService,
],
})
export class DaemonModule {}