Skip to content

Commit 6a01518

Browse files
authored
Change the default connection pool size to 1 (#280)
1 parent 227904a commit 6a01518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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", 10, "单个SERVER的连接数"),
125+
SERVER_CONNECTION_POOL_SIZE("server.connection.pool.size", 1, "单个SERVER的连接数"),
126126

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

0 commit comments

Comments
 (0)