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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user