- Tweak hikari settings
- Change 'WebSocket authentication' log level to debug
This commit is contained in:
committed by
Aditya Chandel
parent
8a446f7d57
commit
5b09beee51
+1
-1
@@ -47,7 +47,7 @@ public class WebSocketAuthInterceptor implements ChannelInterceptor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
accessor.setUser(auth);
|
accessor.setUser(auth);
|
||||||
log.info("WebSocket authentication successful for user: {}", auth.getName());
|
log.debug("WebSocket authentication successful for user: {}", auth.getName());
|
||||||
}
|
}
|
||||||
|
|
||||||
return message;
|
return message;
|
||||||
|
|||||||
@@ -17,6 +17,11 @@ spring:
|
|||||||
url: ${DATABASE_URL:jdbc:mariadb://${DATABASE_HOST:${DB_HOST:mariadb}}:${DATABASE_PORT:3306}/${DATABASE_NAME:booklore}?createDatabaseIfNotExist=true}
|
url: ${DATABASE_URL:jdbc:mariadb://${DATABASE_HOST:${DB_HOST:mariadb}}:${DATABASE_PORT:3306}/${DATABASE_NAME:booklore}?createDatabaseIfNotExist=true}
|
||||||
username: ${DATABASE_USERNAME:root}
|
username: ${DATABASE_USERNAME:root}
|
||||||
password: ${DATABASE_PASSWORD:${MYSQL_ROOT_PASSWORD}}
|
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:
|
jpa:
|
||||||
hibernate:
|
hibernate:
|
||||||
naming:
|
naming:
|
||||||
|
|||||||
Reference in New Issue
Block a user