TEOTEO520 commented on code in PR #6469:
URL: https://github.com/apache/gravitino/pull/6469#discussion_r1967962959
##########
core/src/main/java/org/apache/gravitino/Configs.java:
##########
@@ -137,6 +147,21 @@ private Configs() {}
.stringConf()
.createWithDefault(DEFAULT_RELATIONAL_JDBC_BACKEND_PASSWORD);
+ public static final ConfigEntry<Integer>
ENTITY_RELATIONAL_JDBC_BACKEND_MAX_TOTAL_CONNECTION =
+ new
ConfigBuilder(ENTITY_RELATIONAL_JDBC_BACKEND_MAX_TOTAL_CONNECTION_KEY)
+ .doc("The maximum number of connections for the JDBC Backend
connection pool")
+ .version(ConfigConstants.VERSION_0_9_0)
+ .intConf()
+
.createWithDefault(DEFAULT_RELATIONAL_JDBC_BACKEND_MAX_TOTAL_CONNECTION);
+
+ public static final ConfigEntry<Long>
ENTITY_RELATIONAL_JDBC_BACKEND_MAX_WAIT_MILLIS_CONNECTION =
+ new
ConfigBuilder(ENTITY_RELATIONAL_JDBC_BACKEND_MAX_WAIT_MILLIS_CONNECTION_KEY)
+ .doc(
+ "The maximum wait time in milliseconds for a connection from the
JDBC Backend connection pool")
+ .version(ConfigConstants.VERSION_0_5_0)
Review Comment:
OK
--
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]