Skip to content

Commit 58e8bdb

Browse files
authored
change some default value of parameter (#272)
1 parent 7def973 commit 58e8bdb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main/java/com/alipay/oceanbase/rpc/property/Property.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,14 @@ public enum Property {
9595

9696
// [ObTableClient][RUNTIME]
9797
// property in both obTableClient / direct load client
98-
RUNTIME_RETRY_TIMES("runtime.retry.times", 1, "运行过程中遇到可重试错误时的重试次数"),
98+
RUNTIME_RETRY_TIMES("runtime.retry.times", 3, "运行过程中遇到可重试错误时的重试次数"),
9999

100100
// property in both obTableClient / direct load client
101-
RUNTIME_RETRY_INTERVAL("runtime.retry.interval", 1, "运行出错时重试的时间间隔"),
101+
RUNTIME_RETRY_INTERVAL("runtime.retry.interval", 100, "运行出错时重试的时间间隔"),
102102

103-
RUNTIME_MAX_WAIT("runtime.max.wait", 3000L, "单次执行超时时间会在超时时间内重试"),
103+
RUNTIME_MAX_WAIT("runtime.max.wait", 5000L, "单次执行超时时间会在超时时间内重试"),
104104

105-
RUNTIME_BATCH_MAX_WAIT("runtime.batch.max.wait", 3000L, "批量执行请求的超时时间"),
105+
RUNTIME_BATCH_MAX_WAIT("runtime.batch.max.wait", 5000L, "批量执行请求的超时时间"),
106106

107107
// [ObTableClient][LOG]
108108
SLOW_QUERY_MONITOR_THRESHOLD("slow.query.monitor.threshold", -1L, "记录到 MONITOR 日志中的慢操作的运行时间阈值"),
@@ -122,7 +122,7 @@ public enum Property {
122122
RPC_OPERATION_TIMEOUT("rpc.operation.timeout", 2000L, "OB内部执行RPC请求的超时时间"),
123123

124124
// [ObTable][CONNECTION_POOL]
125-
SERVER_CONNECTION_POOL_SIZE("server.connection.pool.size", 1, "单个SERVER的连接数"),
125+
SERVER_CONNECTION_POOL_SIZE("server.connection.pool.size", 10, "单个SERVER的连接数"),
126126

127127
// [ObTable][NETTY]
128128
// overwrite the global default netty watermark for ob table: [512K, 1M]

0 commit comments

Comments
 (0)