Skip to content

Commit 19d5e8a

Browse files
committed
[#2595] Add 'RPC_RETRY_BACKOFF_MS' into RssClientConf
1 parent 4805d13 commit 19d5e8a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

common/src/main/java/org/apache/uniffle/common/config/RssClientConf.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,12 @@ public class RssClientConf {
125125
.defaultValue(3)
126126
.withDescription("When we fail to send RPC calls, we will retry for maxAttempts times.");
127127

128+
public static final ConfigOption<Long> RPC_RETRY_BACKOFF_MS =
129+
ConfigOptions.key("rss.client.rpc.retry.backoff.ms")
130+
.longType()
131+
.defaultValue(500L)
132+
.withDescription("The backoff in milliseconds for RPC retries");
133+
128134
public static final ConfigOption<Integer> RPC_NETTY_PAGE_SIZE =
129135
ConfigOptions.key("rss.client.rpc.netty.pageSize")
130136
.intType()

0 commit comments

Comments
 (0)