From 982875e833cc8a3f2ce3a86ee3c713dd1bc72088 Mon Sep 17 00:00:00 2001 From: educoder Date: Mon, 18 Jul 2022 14:30:05 +0800 Subject: [PATCH] tj --- common/target/classes/common.properties | 2 +- web/src/main/resources/application.properties | 6 +++++- web/target/classes/application.properties | 8 ++++++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/common/target/classes/common.properties b/common/target/classes/common.properties index 578d8f8..2c55d66 100644 --- a/common/target/classes/common.properties +++ b/common/target/classes/common.properties @@ -7,7 +7,7 @@ mystarter.config.student.gender=man useMq=true -netNames=en0 +netNames=eth0 #web\u56de\u8c03\u5730\u5740 educoderURL=https://www.educoder.net/api/myshixuns/training_task_status.json simpileEducoderURL=https://www.educoder.net/api/myshixuns/code_runinng_message.json diff --git a/web/src/main/resources/application.properties b/web/src/main/resources/application.properties index bad6159..61d733e 100644 --- a/web/src/main/resources/application.properties +++ b/web/src/main/resources/application.properties @@ -50,7 +50,11 @@ logging.level.com.imitate.web.persistence.mapper=debug spring.redis.host=127.0.0.1 spring.redis.port=6379 spring.redis.password= - +spring.redis.lettuce.pool.max-active=8 +spring.redis.lettuce.pool.max-idle=8 +spring.redis.lettuce.pool.max-wait=-1ms +spring.redis.lettuce.pool.min-idle=0 +spring.redis.lettuce.shutdown-timeout=100ms diff --git a/web/target/classes/application.properties b/web/target/classes/application.properties index 7d42f87..61d733e 100644 --- a/web/target/classes/application.properties +++ b/web/target/classes/application.properties @@ -13,7 +13,7 @@ spring.config.import=classpath:common.properties # mysql -spring.datasource.driver-class-name=com.mysql.jdbc.Driver +spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.url=jdbc:mysql://rm-bp13v5020p7828r5rso.mysql.rds.aliyuncs.com:3306/imitate_sys?useUnicode=true&characterEncoding=utf8&autoReconnect=true&failOverReadOnly=false spring.datasource.username=testeducoder spring.datasource.password=TEST@123 @@ -50,7 +50,11 @@ logging.level.com.imitate.web.persistence.mapper=debug spring.redis.host=127.0.0.1 spring.redis.port=6379 spring.redis.password= - +spring.redis.lettuce.pool.max-active=8 +spring.redis.lettuce.pool.max-idle=8 +spring.redis.lettuce.pool.max-wait=-1ms +spring.redis.lettuce.pool.min-idle=0 +spring.redis.lettuce.shutdown-timeout=100ms