mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-13 00:53:09 +02:00
perf(server): reduce memory usage of redis
This commit is contained in:
parent
815c8bf4c8
commit
544b5ba838
1 changed files with 2 additions and 0 deletions
|
@ -263,6 +263,7 @@ export default function() {
|
||||||
systemQueue.add('tickCharts', {
|
systemQueue.add('tickCharts', {
|
||||||
}, {
|
}, {
|
||||||
repeat: { cron: '55 * * * *' },
|
repeat: { cron: '55 * * * *' },
|
||||||
|
removeOnComplete: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
systemQueue.add('resyncCharts', {
|
systemQueue.add('resyncCharts', {
|
||||||
|
@ -278,6 +279,7 @@ export default function() {
|
||||||
systemQueue.add('checkExpiredMutings', {
|
systemQueue.add('checkExpiredMutings', {
|
||||||
}, {
|
}, {
|
||||||
repeat: { cron: '*/5 * * * *' },
|
repeat: { cron: '*/5 * * * *' },
|
||||||
|
removeOnComplete: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
processSystemQueue(systemQueue);
|
processSystemQueue(systemQueue);
|
||||||
|
|
Loading…
Reference in a new issue