test(buffer): disable auto flush on profile

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-09-14 22:36:32 +02:00
parent 7219921a80
commit c674127784
3 changed files with 11 additions and 7 deletions

View File

@@ -175,9 +175,7 @@ async function start() {
{
jobId: 'flushProfiles',
repeat: {
every: process.env.BATCH_INTERVAL
? parseInt(process.env.BATCH_INTERVAL, 10)
: 1000 * 10,
every: 2 * 1000,
},
}
);
@@ -200,8 +198,7 @@ async function start() {
const repeatableJobs = await cronQueue.getRepeatableJobs();
console.log('Repeatable jobs:');
console.log(repeatableJobs);
logger.info('Repeatable jobs', { repeatableJobs });
await createInitialSalts();
}