cfmcgrady commented on code in PR #2784:
URL: https://github.com/apache/celeborn/pull/2784#discussion_r1824333333


##########
common/src/main/scala/org/apache/celeborn/common/CelebornConf.scala:
##########
@@ -532,6 +532,10 @@ class CelebornConf(loadDefaults: Boolean) extends 
Cloneable with Logging with Se
     if (num != 0) num else availableCores
   }
 
+  def rpcSlowThreshold(): Long = get(RPC_SLOW_THRESHOLD)
+  def rpcSlowInterval(): Long = get(RPC_SLOW_INTERVAL)
+  def rpcDumpInterval(): Long = get(RPC_TRACE_DUMP_INTERVAL)

Review Comment:
   ```suggestion
     def rpcSlowThresholdNS(): Long = get(RPC_SLOW_THRESHOLD)
     def rpcSlowIntervalMS(): Long = get(RPC_SLOW_INTERVAL).getOrElse(-1)
     def rpcDumpIntervalMS(): Long = get(RPC_TRACE_DUMP_INTERVAL)
   ```



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to