Skip to content

Commit 356b1f1

Browse files
greenlaw110NateBrady23
authored andcommitted
[ci fw-only Java/act] hibernate pgsql updates performance tune #1 - reduce the db connection number (#3813)
1 parent 5cfa94b commit 356b1f1

File tree

1 file changed

+4
-1
lines changed
  • frameworks/Java/act/src/main/resources/conf/hibernate_pgsql

1 file changed

+4
-1
lines changed

frameworks/Java/act/src/main/resources/conf/hibernate_pgsql/db.properties

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ app.batch.save=false
33

44
db.impl=act.db.hibernate.HibernatePlugin
55
db.url=jdbc:postgresql://${pgsql.host}:5432/hello_world?loggerLevel=OFF
6-
db.isolationLevel=4
6+
7+
db.maxConnections=20
8+
db.minConnections=10
9+
db.autoCommit=true

0 commit comments

Comments
 (0)