mirror of
https://github.com/RocketChat/Rocket.Chat.git
synced 2025-12-28 06:47:25 +00:00
fix: increase cron job check delay to 1 min (#30402)
This commit is contained in:
parent
d9a150000d
commit
61a106fbf2
8
.changeset/three-ants-give.md
Normal file
8
.changeset/three-ants-give.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
"@rocket.chat/cron": patch
|
||||
"@rocket.chat/meteor": patch
|
||||
---
|
||||
|
||||
Increase cron job check delay to 1 min from 5s.
|
||||
|
||||
This reduces MongoDB requests introduced on 6.3.
|
||||
@ -64,6 +64,7 @@ export class AgendaCronJobs {
|
||||
mongo,
|
||||
db: { collection: 'rocketchat_cron' },
|
||||
defaultConcurrency: 1,
|
||||
processEvery: '1 minute',
|
||||
});
|
||||
await this.scheduler.start();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user