Skip to content

Commit 8285666

Browse files
authored
Polish ReactorResourceFactory
Closes gh-24620
1 parent 60fd95a commit 8285666

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-web/src/main/java/org/springframework/http/client/reactive/ReactorResourceFactory.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ public LoopResources getLoopResources() {
161161

162162
/**
163163
* Configure the amount of time we'll wait before shutting down resources.
164-
* If a task is submitted during the {@code quietPeriod}, it is guaranteed
165-
* to be accepted and the {@code quietPeriod} will start over.
164+
* If a task is submitted during the {@code shutdownQuietPeriod}, it is guaranteed
165+
* to be accepted and the {@code shutdownQuietPeriod} will start over.
166166
* <p>By default, this is set to
167167
* {@link LoopResources#DEFAULT_SHUTDOWN_QUIET_PERIOD} which is 2 seconds but
168168
* can also be overridden with the system property
@@ -189,7 +189,7 @@ public void setShutdownQuietPeriod(Duration shutdownQuietPeriod) {
189189
* @see #setShutdownQuietPeriod(Duration)
190190
*/
191191
public void setShutdownTimeout(Duration shutdownTimeout) {
192-
Assert.notNull(shutdownTimeout, "shutdownQuietPeriod should not be null");
192+
Assert.notNull(shutdownTimeout, "shutdownTimeout should not be null");
193193
this.shutdownTimeout = shutdownTimeout;
194194
}
195195

0 commit comments

Comments
 (0)