2023-07-27 05:31:52 +00:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: syuilo and other misskey contributors
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
2022-09-17 18:27:08 +00:00
|
|
|
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 {}
|