Skip to content

Commit bb39c0f

Browse files
committed
timeout now in request in 9.0
1 parent 53388fe commit bb39c0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/migrate/src/main/java/org/elasticsearch/xpack/migrate/task/ReindexDataStreamPersistentTaskExecutor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ private void updateDataStream(
257257
* the new index. For this reason, lifecycle is not set until after the new index has been added to the data stream.
258258
*/
259259
private void copySettings(String oldIndex, String newIndex, ActionListener<AcknowledgedResponse> listener, TaskId parentTaskId) {
260-
var getSettingsRequest = new GetSettingsRequest(TimeValue.MAX_VALUE).indices(oldIndex);
260+
var getSettingsRequest = new GetSettingsRequest().indices(oldIndex);
261261
getSettingsRequest.setParentTask(parentTaskId);
262262
client.execute(GetSettingsAction.INSTANCE, getSettingsRequest, listener.delegateFailure((delegate, response) -> {
263263
String lifecycleName = response.getSetting(oldIndex, IndexMetadata.LIFECYCLE_NAME);

0 commit comments

Comments
 (0)