Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.7] Rename async search params (#61641) #61917

Merged
merged 9 commits into from
Apr 1, 2020
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ async function asyncSearch(
const path = encodeURI(request.id ? `_async_search/${request.id}` : `${index}/_async_search`);

// Wait up to 1s for the response to return
const query = toSnakeCase({ /* waitForCompletion: '1s', */ ...queryParams });
const query = toSnakeCase({ waitForCompletionTimeout: '1s', ...queryParams });

const { response, id } = (await caller(
'transport.request',
Expand Down