summaryrefslogtreecommitdiff
path: root/packages/backend/src/server/HealthServerService.ts
diff options
context:
space:
mode:
authorsyuilo <4439005+syuilo@users.noreply.github.com>2024-09-20 21:03:53 +0900
committerGitHub <noreply@github.com>2024-09-20 21:03:53 +0900
commit0b062f1407688906483e2427d87b708ce1a2dc47 (patch)
tree015241c81b40c93d8123371e5973b21da9cd9f9b /packages/backend/src/server/HealthServerService.ts
parentUpdate CHANGELOG.md (埋め込み機能のドキュメントへのリンク) (diff)
downloadsharkey-0b062f1407688906483e2427d87b708ce1a2dc47.tar.gz
sharkey-0b062f1407688906483e2427d87b708ce1a2dc47.tar.bz2
sharkey-0b062f1407688906483e2427d87b708ce1a2dc47.zip
Misskey® Reactions Buffering Technology™ (#14579)
* wip * wip * Update ReactionsBufferingService.ts * Update ReactionsBufferingService.ts * wip * wip * wip * Update ReactionsBufferingService.ts * wip * wip * wip * Update NoteEntityService.ts * wip * wip * wip * wip * Update CHANGELOG.md
Diffstat (limited to 'packages/backend/src/server/HealthServerService.ts')
-rw-r--r--packages/backend/src/server/HealthServerService.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/backend/src/server/HealthServerService.ts b/packages/backend/src/server/HealthServerService.ts
index 2c3ed85925..5980609f02 100644
--- a/packages/backend/src/server/HealthServerService.ts
+++ b/packages/backend/src/server/HealthServerService.ts
@@ -27,6 +27,9 @@ export class HealthServerService {
@Inject(DI.redisForTimelines)
private redisForTimelines: Redis.Redis,
+ @Inject(DI.redisForReactions)
+ private redisForReactions: Redis.Redis,
+
@Inject(DI.db)
private db: DataSource,
@@ -43,6 +46,7 @@ export class HealthServerService {
this.redisForPub.ping(),
this.redisForSub.ping(),
this.redisForTimelines.ping(),
+ this.redisForReactions.ping(),
this.db.query('SELECT 1'),
...(this.meilisearch ? [this.meilisearch.health()] : []),
]).then(() => 200, () => 503));