From 7b81c876e21f1a14046d3d750c5c603b1f2deca1 Mon Sep 17 00:00:00 2001 From: Mengwei Ding Date: Thu, 18 Jul 2019 16:55:02 -0700 Subject: [PATCH] [Code] Update git repository update frequency --- x-pack/legacy/plugins/code/index.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/x-pack/legacy/plugins/code/index.ts b/x-pack/legacy/plugins/code/index.ts index 21cf97c3ff46b..79fc741d863ba 100644 --- a/x-pack/legacy/plugins/code/index.ts +++ b/x-pack/legacy/plugins/code/index.ts @@ -55,12 +55,12 @@ export const code = (kibana: any) => queueIndex: Joi.string().default('.code_internal-worker-queue'), // 1 hour by default. queueTimeoutMs: Joi.number().default(moment.duration(1, 'hour').asMilliseconds()), - // The frequency which update scheduler executes. 5 minutes by default. - updateFrequencyMs: Joi.number().default(moment.duration(5, 'minute').asMilliseconds()), + // The frequency which update scheduler executes. 1 minute by default. + updateFrequencyMs: Joi.number().default(moment.duration(1, 'minute').asMilliseconds()), // The frequency which index scheduler executes. 1 day by default. indexFrequencyMs: Joi.number().default(moment.duration(1, 'day').asMilliseconds()), - // The frequency which each repo tries to update. 1 hour by default. - updateRepoFrequencyMs: Joi.number().default(moment.duration(1, 'hour').asMilliseconds()), + // The frequency which each repo tries to update. 5 minutes by default. + updateRepoFrequencyMs: Joi.number().default(moment.duration(5, 'minute').asMilliseconds()), // The frequency which each repo tries to index. 1 day by default. indexRepoFrequencyMs: Joi.number().default(moment.duration(1, 'day').asMilliseconds()), // whether we want to show more logs