1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-15 12:45:50 +02:00

deliverJobConcurrency: 16, deliverJobPerSec: 1024, inboxJobConcurrency: 4

This commit is contained in:
tamaina
2024-07-17 18:36:04 +09:00
parent a0c93bbd4d
commit ffd12d0539
6 changed files with 15 additions and 15 deletions

View File

@@ -250,9 +250,9 @@ export class QueueProcessorService implements OnApplicationShutdown {
}, {
...baseQueueOptions(this.config, QUEUE.DELIVER),
autorun: false,
concurrency: this.config.deliverJobConcurrency ?? 128,
concurrency: this.config.deliverJobConcurrency ?? 16,
limiter: {
max: this.config.deliverJobPerSec ?? 128,
max: this.config.deliverJobPerSec ?? 1024,
duration: 1000,
},
settings: {
@@ -290,7 +290,7 @@ export class QueueProcessorService implements OnApplicationShutdown {
}, {
...baseQueueOptions(this.config, QUEUE.INBOX),
autorun: false,
concurrency: this.config.inboxJobConcurrency ?? 16,
concurrency: this.config.inboxJobConcurrency ?? 4,
limiter: {
max: this.config.inboxJobPerSec ?? 32,
duration: 1000,