I have given the required spring boot properties, and enabled the hikari debug as well. However when I start the application, the connection pool is at default itself. Here are the list of properties I am using:
spring.datasource.hikari.connectionTimeout=30000
spring.datasource.hikari.maximumPoolSize=30
spring.datasource.hikari.idleTimeout=600000
spring.datasource.hikari.minimumIdle=15
logging.level.com.zaxxer.hikari.HikariConfig=DEBUG
logging.level.com.zaxxer.hikari=TRACE
For DataSource:
spring.datasource.driver-class-name=org.h2.Driver
spring.datasource.url=jdbc:h2:file:D:/ATOP_BACKEND/database/db;AUTO_SERVER=TRUE
spring.datasource.username=sa
spring.datasource.password=
spring.h2.console.enabled=true
spring.h2.console.path=/h2-console
I have tried with various properties, like "spring.datasource.hikari.maximum-Pool-Size=30" and also tried removing hikari as well from the properties(spring.datasource.maximum-Pool-Size) as it seems to have worked in some cases. None of them are increasing the connection pool. Any comments/links would be helpful. After Starting the application the debug message says:
{"@timestamp":"2021-09-13T12:46:51.356+05:30","@version":"1","message":"HikariPool-1 - Pool stats (total=10, active=0, idle=10, waiting=0)","logger_name":"com.zaxxer.hikari.pool.HikariPool","thread_name":"HikariPool-1 housekeeper","level":"DEBUG","level_value":10000,"application_name":"atopweb"}