diff --git a/docs/reporting/report-intervals.asciidoc b/docs/reporting/report-intervals.asciidoc index 9bdd868827aba..d826ef70f4ee3 100644 --- a/docs/reporting/report-intervals.asciidoc +++ b/docs/reporting/report-intervals.asciidoc @@ -5,8 +5,8 @@ takes to generate the reports--otherwise, the report queue can back up. To avoid this, increase the time between report requests. By default, report generation times out if the report cannot be generated -within 30 seconds. If you are generating reports that contain complex +within two minutes. If you are generating reports that contain many complex visualizations or your machine is slow or under constant heavy load, it -might take longer than 30 seconds to generate a report. You can increase +might take longer than two minutes to generate a report. You can increase the timeout by setting `xpack.reporting.queue.timeout` in `kibana.yml`. =================== \ No newline at end of file diff --git a/docs/settings/reporting-settings.asciidoc b/docs/settings/reporting-settings.asciidoc index 5d36a7e19cfe1..48fa8f18a8444 100644 --- a/docs/settings/reporting-settings.asciidoc +++ b/docs/settings/reporting-settings.asciidoc @@ -57,7 +57,7 @@ How often idle workers poll the index for pending jobs. Defaults to `3000` (3 se `xpack.reporting.queue.timeout`:: How long each worker has to produce a report. If your machine is slow or under heavy load, you might need to increase this timeout. Specified in milliseconds. -Defaults to `30000` (30 seconds). +Defaults to `120000` (two minutes). [float] [[reporting-capture-settings]] diff --git a/x-pack/plugins/reporting/index.js b/x-pack/plugins/reporting/index.js index 7d362f404b55f..f2708f45c0d61 100644 --- a/x-pack/plugins/reporting/index.js +++ b/x-pack/plugins/reporting/index.js @@ -74,7 +74,7 @@ export const reporting = (kibana) => { indexInterval: Joi.string().default('week'), pollInterval: Joi.number().integer().default(3000), pollIntervalErrorMultiplier: Joi.number().integer().default(10), - timeout: Joi.number().integer().default(30000), + timeout: Joi.number().integer().default(120000), }).default(), capture: Joi.object({ record: Joi.boolean().default(false), diff --git a/x-pack/test/reporting/configs/chromium_api.js b/x-pack/test/reporting/configs/chromium_api.js index 8ac5f8ac3cd34..9085505275575 100644 --- a/x-pack/test/reporting/configs/chromium_api.js +++ b/x-pack/test/reporting/configs/chromium_api.js @@ -21,9 +21,6 @@ export default async function ({ readConfigFile }) { serverArgs: [ ...reportingApiConfig.kbnTestServer.serverArgs, `--xpack.reporting.capture.browser.type=chromium`, - // Jenkins agents take about 30 seconds to spin up chromium on a first run because of some fontconfig cache - // generation. - `--xpack.reporting.queue.timeout=60000`, `--logging.verbose=true`, ], }, diff --git a/x-pack/test/reporting/configs/chromium_functional.js b/x-pack/test/reporting/configs/chromium_functional.js index ba6a9c4ad5df1..c76f2489d0cb0 100644 --- a/x-pack/test/reporting/configs/chromium_functional.js +++ b/x-pack/test/reporting/configs/chromium_functional.js @@ -21,9 +21,6 @@ export default async function ({ readConfigFile }) { serverArgs: [ ...functionalConfig.kbnTestServer.serverArgs, `--xpack.reporting.capture.browser.type=chromium`, - // Jenkins agents take about 30 seconds to spin up chromium on a first run because of some fontconfig cache - // generation. - `--xpack.reporting.queue.timeout=60000`, `--logging.verbose=true`, ], },