fix(backend): Misskeyのバックエンドプロセスが終了しない

Resolve #10995
This commit is contained in:
syuilo
2023-10-09 20:47:49 +09:00
parent 0bb0c32908
commit 11c9e193a4
2 changed files with 1 additions and 2 deletions

View File

@@ -17,7 +17,6 @@ export async function server() {
const app = await NestFactory.createApplicationContext(MainModule, {
logger: new NestLogger(),
});
app.enableShutdownHooks();
const serverService = app.get(ServerService);
await serverService.launch();
@@ -35,7 +34,6 @@ export async function jobQueue() {
const jobQueue = await NestFactory.createApplicationContext(QueueProcessorModule, {
logger: new NestLogger(),
});
jobQueue.enableShutdownHooks();
jobQueue.get(QueueProcessorService).start();
jobQueue.get(ChartManagementService).start();