Increase index poll timeout to 5 seconds (#138768)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Byron Hulcher 2022-08-15 07:39:20 -04:00 committed by GitHub
parent 52bce04dda
commit 1f5b803d6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,7 @@ import {
import { CrawlerLogic } from './crawler/crawler_logic';
import { IndexNameLogic } from './index_name_logic';
const FETCH_INDEX_POLLING_DURATION = 1000; // 1 seconds
const FETCH_INDEX_POLLING_DURATION = 5000; // 1 seconds
const FETCH_INDEX_POLLING_DURATION_ON_FAILURE = 30000; // 30 seconds
type FetchIndexApiValues = Actions<FetchIndexApiParams, FetchIndexApiResponse>;