1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-24 23:26:29 +09:00

perf(server): reduce memory usage of redis

This commit is contained in:
syuilo 2022-03-19 19:34:04 +09:00 committed by GitHub
parent 815c8bf4c8
commit 544b5ba838
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -263,6 +263,7 @@ export default function() {
systemQueue.add('tickCharts', {
}, {
repeat: { cron: '55 * * * *' },
removeOnComplete: true,
});
systemQueue.add('resyncCharts', {
@ -278,6 +279,7 @@ export default function() {
systemQueue.add('checkExpiredMutings', {
}, {
repeat: { cron: '*/5 * * * *' },
removeOnComplete: true,
});
processSystemQueue(systemQueue);