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 c98c225 commit 18c1dfc
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 18c1dfc

Please sign in to comment.