Skip to content

Commit

Permalink
Fix default value in ReactorNettyClientRequestFactory#setExchangeTimeout
Browse files Browse the repository at this point in the history
Closes gh-32419
  • Loading branch information
snicoll committed Mar 12, 2024
1 parent 80f3be6 commit 88b3844
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2023 the original author or authors.
* Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -175,7 +175,7 @@ public void setReadTimeout(Duration readTimeout) {

/**
* Set the timeout for the HTTP exchange in milliseconds.
* <p>Default is 30 seconds.
* <p>Default is 5 seconds.
*/
public void setExchangeTimeout(long exchangeTimeout) {
Assert.isTrue(exchangeTimeout > 0, "Timeout must be a positive value");
Expand All @@ -184,7 +184,7 @@ public void setExchangeTimeout(long exchangeTimeout) {

/**
* Set the timeout for the HTTP exchange.
* <p>Default is 30 seconds.
* <p>Default is 5 seconds.
*/
public void setExchangeTimeout(Duration exchangeTimeout) {
Assert.notNull(exchangeTimeout, "ExchangeTimeout must not be null");
Expand Down

0 comments on commit 88b3844

Please sign in to comment.