Skip to content

Commit 42f99ab

Browse files
committed
[fix-34015][rdb] reduce default connection count to 5.
1 parent 215acfc commit 42f99ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rdb/rdb-side/src/main/java/com/dtstack/flink/sql/side/rdb/async/RdbAsyncReqRow.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public class RdbAsyncReqRow extends BaseAsyncReqRow {
7777

7878
public final static int DEFAULT_DB_CONN_POOL_SIZE = DEFAULT_VERTX_EVENT_LOOP_POOL_SIZE + DEFAULT_VERTX_WORKER_POOL_SIZE;
7979

80-
public final static int MAX_DB_CONN_POOL_SIZE_LIMIT = 20;
80+
public final static int MAX_DB_CONN_POOL_SIZE_LIMIT = 5;
8181

8282
public final static int DEFAULT_IDLE_CONNECTION_TEST_PEROID = 60;
8383

0 commit comments

Comments
 (0)