Skip to content

Commit 60f5d5f

Browse files
committed
Remove usages of obsolete settings
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. Relates elastic#28781
1 parent 42fe661 commit 60f5d5f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -333,9 +333,7 @@ public void close() throws IOException {
333333

334334

335335
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);
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)