Skip to content

Commit 158bb23

Browse files
authored
Remove usages of obsolete settings (#29087)
The settings `indices.recovery.concurrent_streams` and `indices.recovery.concurrent_small_file_streams` were removed in f5e4cd4. This commit removes their last traces from the codebase.
1 parent 2c1ef3d commit 158bb23

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

server/src/test/java/org/elasticsearch/indices/recovery/RecoverySourceHandlerTests.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,10 +332,8 @@ public void close() throws IOException {
332332
}
333333

334334

335-
public void testHandleExceptinoOnSendSendFiles() throws Throwable {
336-
Settings settings = Settings.builder().put("indices.recovery.concurrent_streams", 1).
337-
put("indices.recovery.concurrent_small_file_streams", 1).build();
338-
final RecoverySettings recoverySettings = new RecoverySettings(settings, service);
335+
public void testHandleExceptionOnSendFiles() throws Throwable {
336+
final RecoverySettings recoverySettings = new RecoverySettings(Settings.EMPTY, service);
339337
final StartRecoveryRequest request = getStartRecoveryRequest();
340338
Path tempDir = createTempDir();
341339
Store store = newStore(tempDir, false);

0 commit comments

Comments
 (0)