Skip to content

Commit ae1e700

Browse files
committed
Polish contribution
See gh-47244
1 parent 9530569 commit ae1e700

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/task/TaskExecutionProperties.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ public void setThreadNamePrefix(String threadNamePrefix) {
8080
public static class Simple {
8181

8282
/**
83-
* Whether to cancel remaining tasks on close.
83+
* Whether to cancel remaining tasks on close. Only recommended if threads are
84+
* commonly expected to be stuck.
8485
*/
8586
private boolean cancelRemainingTasksOnClose;
8687

0 commit comments

Comments
 (0)