summaryrefslogtreecommitdiff
path: root/packages/backend/src/core/QueueService.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/core/QueueService.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/core/QueueService.ts')
-rw-r--r--packages/backend/src/core/QueueService.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/backend/src/core/QueueService.ts b/packages/backend/src/core/QueueService.ts
index ddb90a051f..f35e456556 100644
--- a/packages/backend/src/core/QueueService.ts
+++ b/packages/backend/src/core/QueueService.ts
@@ -87,6 +87,12 @@ export class QueueService {
repeat: { pattern: '*/5 * * * *' },
removeOnComplete: true,
});
+
+ this.systemQueue.add('bakeBufferedReactions', {
+ }, {
+ repeat: { pattern: '0 0 * * *' },
+ removeOnComplete: true,
+ });
}
@bindThis