Skip to content
Snippets Groups Projects
Unverified Commit 61a106fb authored by Diego Sampaio's avatar Diego Sampaio
Browse files

fix: increase cron job check delay to 1 min (#30402)

parent d9a15000
No related branches found
No related tags found
No related merge requests found
---
"@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 { ...@@ -64,6 +64,7 @@ export class AgendaCronJobs {
mongo, mongo,
db: { collection: 'rocketchat_cron' }, db: { collection: 'rocketchat_cron' },
defaultConcurrency: 1, defaultConcurrency: 1,
processEvery: '1 minute',
}); });
await this.scheduler.start(); await this.scheduler.start();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment