Skip to content

Commit

Permalink
Remove polling delay
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasolson committed Apr 1, 2020
1 parent 5e73654 commit ed64a57
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 ed64a57

Please sign in to comment.