Skip to content

Commit

Permalink
Remove polling delay (#62247)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasolson authored Apr 2, 2020
1 parent 929bcaf commit f225d1f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const enhancedEsSearchStrategyProvider: TSearchStrategyProvider<typeof ES
};
request.params = params;

const asyncOptions: IAsyncSearchOptions = { pollInterval: 1000, ...options };
const asyncOptions: IAsyncSearchOptions = { pollInterval: 0, ...options };

return asyncSearch(
{ ...request, serverStrategy: ES_SEARCH_STRATEGY },
Expand Down

0 comments on commit f225d1f

Please sign in to comment.