change ML sync job interval to 5 sec

This commit is contained in:
Abhinav 2023-02-10 17:53:56 +05:30
parent e9312ff139
commit dbd3893844

View file

@ -2,7 +2,7 @@ import { JobConfig } from 'types/common/job';
import { MLSearchConfig, MLSyncConfig } from 'types/machineLearning'; import { MLSearchConfig, MLSyncConfig } from 'types/machineLearning';
export const DEFAULT_ML_SYNC_JOB_CONFIG: JobConfig = { export const DEFAULT_ML_SYNC_JOB_CONFIG: JobConfig = {
intervalSec: 30, intervalSec: 5,
// TODO: finalize this after seeing effects on and from machine sleep // TODO: finalize this after seeing effects on and from machine sleep
maxItervalSec: 960, maxItervalSec: 960,
backoffMultiplier: 2, backoffMultiplier: 2,