diff --git a/pom.xml b/pom.xml index d285587..0c0aae4 100644 --- a/pom.xml +++ b/pom.xml @@ -39,6 +39,15 @@ spring-boot-starter-test test + + org.springframework.boot + spring-boot-starter-data-redis + + + commons-lang + commons-lang + 2.6 + diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 52ae09b..e9f506d 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -2,9 +2,20 @@ spring: datasource: url: jdbc:mysql://localhost:3306/love-nav username: root - password: 1611 + password: Cheng123... driver-class-name: com.mysql.cj.jdbc.Driver - + redis: + host: localhost + port: 6379 + password: Cheng123... + database: 0 + lettuce: + pool: + max-idle: 200 + max-active: 1024 + min-idle: 0 + max-wait: -1 + timeout: 10000