diff --git a/x-pack/plugins/code/index.ts b/x-pack/plugins/code/index.ts index 3e2205216962f..25c99d0b9b9d3 100644 --- a/x-pack/plugins/code/index.ts +++ b/x-pack/plugins/code/index.ts @@ -30,7 +30,7 @@ export const code = (kibana: any) => config(Joi: any) { return Joi.object({ enabled: Joi.boolean().default(true), - queueIndex: Joi.string().default('.code-worker-queue'), + queueIndex: Joi.string().default('.code_internal-worker-queue'), // 1 hour by default. queueTimeout: Joi.number().default(moment.duration(1, 'hour').asMilliseconds()), // The frequency which update scheduler executes. 5 minutes by default. diff --git a/x-pack/plugins/code/server/__tests__/clone_worker.ts b/x-pack/plugins/code/server/__tests__/clone_worker.ts index c46483208eae9..9b3d4777ac5a4 100644 --- a/x-pack/plugins/code/server/__tests__/clone_worker.ts +++ b/x-pack/plugins/code/server/__tests__/clone_worker.ts @@ -39,7 +39,7 @@ const config = { const options = { enabled: true, - queueIndex: '.code-worker-queue', + queueIndex: '.code_internal-worker-queue', queueTimeout: 60 * 60 * 1000, // 1 hour by default updateFreqencyMs: 5 * 60 * 1000, // 5 minutes by default indexFrequencyMs: 24 * 60 * 60 * 1000, // 1 day by default diff --git a/x-pack/plugins/code/server/__tests__/git_operations.ts b/x-pack/plugins/code/server/__tests__/git_operations.ts index be9abb2dd8540..e46543cd132b8 100644 --- a/x-pack/plugins/code/server/__tests__/git_operations.ts +++ b/x-pack/plugins/code/server/__tests__/git_operations.ts @@ -79,7 +79,7 @@ describe('git_operations', () => { }; const options = { enabled: true, - queueIndex: '.code-worker-queue', + queueIndex: '.code_internal-worker-queue', queueTimeout: 60 * 60 * 1000, // 1 hour by default updateFreqencyMs: 5 * 60 * 1000, // 5 minutes by default indexFrequencyMs: 24 * 60 * 60 * 1000, // 1 day by default diff --git a/x-pack/plugins/code/server/__tests__/lsp_indexer_test.ts b/x-pack/plugins/code/server/__tests__/lsp_indexer_test.ts index 0435c7ee6f48a..b128b841f62f0 100644 --- a/x-pack/plugins/code/server/__tests__/lsp_indexer_test.ts +++ b/x-pack/plugins/code/server/__tests__/lsp_indexer_test.ts @@ -65,7 +65,7 @@ const repoUri = 'github.com/Microsoft/TypeScript-Node-Starter'; const options = { enabled: true, - queueIndex: '.code-worker-queue', + queueIndex: '.code_internal-worker-queue', queueTimeout: 60 * 60 * 1000, // 1 hour by default updateFreqencyMs: 5 * 60 * 1000, // 5 minutes by default indexFrequencyMs: 24 * 60 * 60 * 1000, // 1 day by default diff --git a/x-pack/plugins/code/server/__tests__/lsp_service.ts b/x-pack/plugins/code/server/__tests__/lsp_service.ts index ddca85c55d906..f5ad3a1c8c4f0 100644 --- a/x-pack/plugins/code/server/__tests__/lsp_service.ts +++ b/x-pack/plugins/code/server/__tests__/lsp_service.ts @@ -44,7 +44,7 @@ describe('lsp_service tests', () => { const options = { enabled: true, - queueIndex: '.code-worker-queue', + queueIndex: '.code_internal-worker-queue', queueTimeout: 60 * 60 * 1000, // 1 hour by default updateFreqencyMs: 5 * 60 * 1000, // 5 minutes by default indexFrequencyMs: 24 * 60 * 60 * 1000, // 1 day by default diff --git a/x-pack/plugins/code/server/lsp/lsp_test_runner.ts b/x-pack/plugins/code/server/lsp/lsp_test_runner.ts index 9a90e44afe7ae..7b182e1b4e6da 100644 --- a/x-pack/plugins/code/server/lsp/lsp_test_runner.ts +++ b/x-pack/plugins/code/server/lsp/lsp_test_runner.ts @@ -25,7 +25,7 @@ import {InstallManager} from "./install_manager"; const options = { enabled: true, - queueIndex: '.code-worker-queue', + queueIndex: '.code_internal-worker-queue', queueTimeout: 60 * 60 * 1000, // 1 hour by default updateFreqencyMs: 5 * 60 * 1000, // 5 minutes by default indexFrequencyMs: 24 * 60 * 60 * 1000, // 1 day by default