Skip to content

Commit 31c65d7

Browse files
committed
adding configurable connection timeout
1 parent d8c0382 commit 31c65d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

curation-app/src/main/resources/application.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ spring:
1414
password: ${DATABASE_PASSWORD}
1515
driver-class-name: org.mariadb.jdbc.Driver
1616
hikari:
17-
maximum-pool-size: ${HIKARI_MAXIMUM-POOL-SIZE:100}
17+
maximum-pool-size: ${DATABASE_MAXIMUM-POOL-SIZE:10}
18+
connection-timeout: ${DATABASE_CONNECTION_TIMEOUT:30000}
1819
jpa:
1920
show-sql: false
2021
hibernate:

0 commit comments

Comments
 (0)