Skip to content

Commit

Permalink
Remove polling delay (#62248)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasolson authored Apr 2, 2020
1 parent 294c8d7 commit ba395d3
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 ba395d3

Please sign in to comment.