diff --git a/spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/WebSocketTransportRegistration.java b/spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/WebSocketTransportRegistration.java index 78a3b8d1fa..f860aa5f1d 100644 --- a/spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/WebSocketTransportRegistration.java +++ b/spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/WebSocketTransportRegistration.java @@ -92,7 +92,7 @@ public class WebSocketTransportRegistration { * is used by default on Tomcat 8. If you must use blocking IO consider * customizing OS-level TCP settings, for example * {@code /proc/sys/net/ipv4/tcp_retries2} on Linux. - *
The default value is 10 seconds (i.e. 10 * 10000). + *
The default value is 10 seconds (i.e. 10 * 1000). * @param timeLimit the timeout value in milliseconds; the value must be * greater than 0, otherwise it is ignored. */