- Tweak hikari settings

- Change 'WebSocket authentication' log level to debug
This commit is contained in:
adityachandelgit
2025-04-22 12:59:59 -06:00
committed by Aditya Chandel
parent 8a446f7d57
commit 5b09beee51
2 changed files with 6 additions and 1 deletions

View File

@@ -47,7 +47,7 @@ public class WebSocketAuthInterceptor implements ChannelInterceptor {
}
accessor.setUser(auth);
log.info("WebSocket authentication successful for user: {}", auth.getName());
log.debug("WebSocket authentication successful for user: {}", auth.getName());
}
return message;

View File

@@ -17,6 +17,11 @@ spring:
url: ${DATABASE_URL:jdbc:mariadb://${DATABASE_HOST:${DB_HOST:mariadb}}:${DATABASE_PORT:3306}/${DATABASE_NAME:booklore}?createDatabaseIfNotExist=true}
username: ${DATABASE_USERNAME:root}
password: ${DATABASE_PASSWORD:${MYSQL_ROOT_PASSWORD}}
hikari:
max-lifetime: 580000 # 580 seconds
connection-test-query: SELECT 1
maximum-pool-size: 10
idle-timeout: 300000 # 5 minutes
jpa:
hibernate:
naming: