slow and rss queue process 5 tasks/s and normal queue process 100 tasks per second

This commit is contained in:
Hongbo Wu
2024-08-20 16:09:09 +08:00
parent 34edbeba56
commit d29ac109cb

View File

@ -40,12 +40,12 @@ const createWorker = (redisDataSource: RedisDataSource, queueName: string) => {
}
case RSS_QUEUE:
return {
max: 3,
max: 5,
duration: 1000, // 1 second
}
default:
return {
max: 10,
max: 100,
duration: 1000, // 1 second
}
}