summaryrefslogtreecommitdiff
path: root/packages/backend/src/queue/index.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2022-02-06 00:13:52 +0900
committerGitHub <noreply@github.com>2022-02-06 00:13:52 +0900
commitc1b264e4e9686804e1b8ea17ba39753c41bd205b (patch)
tree041e794b683cf986f98fcc04a3d5a50a8dcb7554 /packages/backend/src/queue/index.ts
parentenhance(client): improve chart rendering (diff)
downloadsharkey-c1b264e4e9686804e1b8ea17ba39753c41bd205b.tar.gz
sharkey-c1b264e4e9686804e1b8ea17ba39753c41bd205b.tar.bz2
sharkey-c1b264e4e9686804e1b8ea17ba39753c41bd205b.zip
Improve chart engine (#8253)
* wip * wip * wip * wip * wip * wip * wip * Update core.ts * wip * wip * #7361 * delete network chart * federationChart強化 apRequestChart追加 * tweak
Diffstat (limited to 'packages/backend/src/queue/index.ts')
-rw-r--r--packages/backend/src/queue/index.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/backend/src/queue/index.ts b/packages/backend/src/queue/index.ts
index f9994c3b59..795e520feb 100644
--- a/packages/backend/src/queue/index.ts
+++ b/packages/backend/src/queue/index.ts
@@ -261,6 +261,11 @@ export default function() {
}, {
repeat: { cron: '0 0 * * *' },
});
+
+ systemQueue.add('cleanCharts', {
+ }, {
+ repeat: { cron: '0 0 * * *' },
+ });
}
export function destroy() {