Skip to content

Commit a326fff

Browse files
committed
Merge branch '2.1.x'
Closes gh-18409
2 parents 86e0bc0 + 89e7d5f commit a326fff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/task/TaskExecutionAutoConfiguration.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public TaskExecutorBuilder taskExecutorBuilder(TaskExecutionProperties propertie
6767
builder = builder.awaitTermination(shutdown.isAwaitTermination());
6868
builder = builder.awaitTerminationPeriod(shutdown.getAwaitTerminationPeriod());
6969
builder = builder.threadNamePrefix(properties.getThreadNamePrefix());
70-
builder = builder.customizers(taskExecutorCustomizers);
70+
builder = builder.customizers(taskExecutorCustomizers.orderedStream()::iterator);
7171
builder = builder.taskDecorator(taskDecorator.getIfUnique());
7272
return builder;
7373
}

0 commit comments

Comments
 (0)