Skip to content

Commit

Permalink
Configuración del Pool de conexiones
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbh committed Mar 12, 2021
1 parent 92a6848 commit 1b9d186
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#nivel de log en la aplicación
logging.level.root=info



#Configuración de Base de Datos

spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
Expand All @@ -13,5 +12,12 @@ spring.datasource.url=jdbc:mysql://localhost:3306/boot_demo?useSSL=false&serverT
spring.datasource.username=boot_demo
spring.datasource.password=boot_demo

#Configuración del Pool de conexiones
spring.datasource.initial-size=10
spring.datasource.max-active=20
spring.datasource.max-idle=5
spring.datasource.min-idle=1


#[opcional]Imprime en tu consola todo el SQL.
spring.jpa.show-sql = true

0 comments on commit 1b9d186

Please sign in to comment.