From 04ae54613125786aec94108dba6453423e05ac64 Mon Sep 17 00:00:00 2001 From: nili Date: Mon, 1 Apr 2024 21:03:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8D=A2=E6=96=B0=E6=9C=BA=E5=99=A8=E9=83=A8?= =?UTF-8?q?=E7=BD=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-web/src/main/resources/application-test.yml | 2 +- run | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/game-web/src/main/resources/application-test.yml b/game-web/src/main/resources/application-test.yml index 9436eb5..c33fb43 100644 --- a/game-web/src/main/resources/application-test.yml +++ b/game-web/src/main/resources/application-test.yml @@ -13,7 +13,7 @@ spring: datasource: game: type: com.zaxxer.hikari.HikariDataSource - jdbcUrl: jdbc:mysql://localhost:3306/game?autoReconnect=true&useUnicode=true&characterEncoding=utf-8&connectTimeout=300&socketTimeout=2000&serverTimezone=Hongkong&zeroDateTimeBehavior=convertToNull + jdbcUrl: jdbc:mysql://172.17.116.23:3306/game?autoReconnect=true&useUnicode=true&characterEncoding=utf-8&connectTimeout=300&socketTimeout=2000&serverTimezone=Hongkong&zeroDateTimeBehavior=convertToNull username: game password: Vd12luSjmwAXuwDH connectionTimeout: 300 diff --git a/run b/run index ce86f32..83cf998 100755 --- a/run +++ b/run @@ -17,4 +17,4 @@ rm -rf jar mkdir jar cp $targetdir/$jar jar/ -java -server -Xmx256m -Xms256m -XX:+UseG1GC -XX:MaxGCPauseMillis=100 -XX:+UseCompressedOops -XX:+UseCompressedClassPointers -verbose:gc -Xlog:gc*:logs/gc.log:time,l,tg:filecount=7,filesize=16M -jar jar/$jar --spring.profiles.active=$profile > run.log 2>&1 & echo $! > pid +java -server -Xmx2g -Xms2g -XX:+UseG1GC -XX:MaxGCPauseMillis=100 -XX:+UseCompressedOops -XX:+UseCompressedClassPointers -verbose:gc -Xlog:gc*:logs/gc.log:time,l,tg:filecount=7,filesize=16M -jar jar/$jar --spring.profiles.active=$profile > run.log 2>&1 & echo $! > pid