mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[kbn-es] Increase ready timeout to two minutes (#169331)
Average start times of serverless ES are near one minute, and in [some cases exceeding the limit](https://buildkite.com/elastic/kibana-on-merge/builds/37049#018b44ec-832c-48be-a5b9-93e9c42e1db7/243-1554). This increases the limit to two minutes
This commit is contained in:
parent
0366351bd5
commit
e1f554b172
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
import { Client } from '@elastic/elasticsearch';
|
||||
import { HealthStatus } from '@elastic/elasticsearch/lib/api/types';
|
||||
import { ToolingLog } from '@kbn/tooling-log';
|
||||
const DEFAULT_READY_TIMEOUT = 60 * 1000; // 1 minute
|
||||
const DEFAULT_READY_TIMEOUT = 120 * 1000; // 2 minutes
|
||||
|
||||
export type ClusterReadyStatus = 'green' | 'yellow';
|
||||
export interface WaitOptions {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue