mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-29 07:18:08 +09:00
perf(server): reduce memory usage of redis
This commit is contained in:
parent
5e9809407a
commit
20d5def957
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user