Skip to content

Commit

Permalink
search: update index details document poll interval to 30s (elastic#2…
Browse files Browse the repository at this point in the history
…07419)

## Summary

Updating the search indices index details document search polling
interval from 5s to 30s. 5s was very aggressive and faster than all the
other intervals we use for this page. Increasing to 30s will instead
make this call the slowest, which should be more reasonable for
searching for the documents we show in the index details page.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
TattdCodeMonkey and elasticmachine authored Jan 23, 2025
1 parent 14c3235 commit 2535d8f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const DEFAULT_PAGINATION = {
size: DEFAULT_DOCUMENT_PAGE_SIZE,
total: 0,
};
export const INDEX_SEARCH_POLLING = 5 * 1000;
export const INDEX_SEARCH_POLLING = 30000;
export const useIndexDocumentSearch = (indexName: string) => {
const {
services: { http },
Expand Down

0 comments on commit 2535d8f

Please sign in to comment.