Skip to content

Commit

Permalink
Revert "fix(backend): Misskeyのバックエンドプロセスが終了しない"
Browse files Browse the repository at this point in the history
This reverts commit 11c9e19.

io フォークで修正済みのため、多分正常に終了してくれたほうが嬉しい
  • Loading branch information
riku6460 committed Oct 10, 2023
1 parent a61ba41 commit 1a5ba39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
- Fix: 同じ種類のTLのストリーミングを複数接続できない問題を修正
- Fix: アンテナTLを途中までしかページネーションできなくなることがある問題を修正
- Fix: 「ファイル付きのみ」のTLでファイル無しの新着ノートが流れる問題を修正
- Fix: プロセスが終了しない、あるいは非常に時間がかかる問題を修正

## 2023.9.3
### General
Expand Down
2 changes: 2 additions & 0 deletions packages/backend/src/boot/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export async function server() {
const app = await NestFactory.createApplicationContext(MainModule, {
logger: new NestLogger(),
});
app.enableShutdownHooks();

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

jobQueue.get(QueueProcessorService).start();
jobQueue.get(ChartManagementService).start();
Expand Down

0 comments on commit 1a5ba39

Please sign in to comment.