inboxJobPerSec: 64

This commit is contained in:
tamaina 2024-07-17 22:49:07 +09:00
parent ffd12d0539
commit fe77f216c3
5 changed files with 5 additions and 5 deletions

View File

@ -169,7 +169,7 @@ id: 'aidx'
# Job rate limiter # Job rate limiter
# deliverJobPerSec: 128 # deliverJobPerSec: 128
# inboxJobPerSec: 32 # inboxJobPerSec: 64
# Job attempts # Job attempts
# deliverJobMaxAttempts: 12 # deliverJobMaxAttempts: 12

View File

@ -238,7 +238,7 @@ id: 'aidx'
# Job rate limiter # Job rate limiter
#deliverJobPerSec: 1024 #deliverJobPerSec: 1024
#inboxJobPerSec: 32 #inboxJobPerSec: 64
#relationshipJobPerSec: 64 #relationshipJobPerSec: 64
# Job attempts # Job attempts

View File

@ -162,7 +162,7 @@ id: 'aidx'
# Job rate limiter # Job rate limiter
# deliverJobPerSec: 1024 # deliverJobPerSec: 1024
# inboxJobPerSec: 32 # inboxJobPerSec: 64
# Job attempts # Job attempts
# deliverJobMaxAttempts: 12 # deliverJobMaxAttempts: 12

View File

@ -183,7 +183,7 @@ id: "aidx"
# Job rate limiter # Job rate limiter
# deliverJobPerSec: 1024 # deliverJobPerSec: 1024
# inboxJobPerSec: 32 # inboxJobPerSec: 64
# Job attempts # Job attempts
# deliverJobMaxAttempts: 12 # deliverJobMaxAttempts: 12

View File

@ -292,7 +292,7 @@ export class QueueProcessorService implements OnApplicationShutdown {
autorun: false, autorun: false,
concurrency: this.config.inboxJobConcurrency ?? 4, concurrency: this.config.inboxJobConcurrency ?? 4,
limiter: { limiter: {
max: this.config.inboxJobPerSec ?? 32, max: this.config.inboxJobPerSec ?? 64,
duration: 1000, duration: 1000,
}, },
settings: { settings: {