bump reporting timeout (#20833) (#21173)

This commit is contained in:
Stacey Gammon 2018-07-25 09:15:42 -04:00 committed by GitHub
parent 3131ea1871
commit 0034ad95f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 4 additions and 10 deletions

View file

@ -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`.
===================

View file

@ -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]]

View file

@ -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),

View file

@ -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`,
],
},

View file

@ -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`,
],
},