rmcyang commented on code in PR #3120:
URL: https://github.com/apache/celeborn/pull/3120#discussion_r1972941392


##########
common/src/main/scala/org/apache/celeborn/common/CelebornConf.scala:
##########
@@ -6084,6 +6091,18 @@ object CelebornConf extends Logging {
       .booleanConf
       .createWithDefault(false)
 
+  val SSL_HANDSHAKE_TIMEOUT_MS: ConfigEntry[Long] =
+    buildConf("celeborn.ssl.<module>.sslHandshakeTimeoutMs")
+      .categories("network", "ssl")
+      .version("0.6.0")
+      .doc("The timeout for the SSL handshake (in milliseconds). The default 
value is set to " +
+        "the current Netty default.")
+      .timeConf(TimeUnit.MILLISECONDS)
+      .checkValue(
+        p => p > 0 && p <= Int.MaxValue,
+        s"Invalid sslHandshakeTimeoutMs, must be a position number upto 
${Int.MaxValue}")
+      .createWithDefaultString("10s")

Review Comment:
   This is in line with the `celeborn.ssl.<module>.trustStoreReloadIntervalMs` 
[default](https://github.com/apache/celeborn/blob/main/common/src/main/scala/org/apache/celeborn/common/CelebornConf.scala#L6058).
 It will also get converted into milliseconds which is the time unit. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@celeborn.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to