From 2af53cf7a792c5db08b93aa5002ec2d25526a458 Mon Sep 17 00:00:00 2001 From: 3y Date: Mon, 14 Mar 2022 08:29:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E9=9B=85=E5=85=B3=E9=97=AD=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E6=9C=8D=E5=8A=A1=E5=99=A8=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 7 ++++--- austin-web/src/main/resources/application.properties | 4 ++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 36f329f..519e9cf 100644 --- a/README.md +++ b/README.md @@ -112,7 +112,8 @@ curl -XPOST "127.0.0.1:8080/send" -H 'Content-Type: application/json' -d '{"co - [x] 接入分布式定时任务框架定时发送任务(xxl-job定时任务框架),编写上传文件接口并使用LazyPending批处理人群文件数据 - [x] 接入实时流计算平台(Flink),实时日志数据根据用户维度和消息模板维度清洗至Redis - [x] 通过AMIS低代码平台接入echarts图表展示实时聚合后的数据 -- [ ] 优化现有的代码:优雅停机、动态配置等等 +- [x] 优雅停机、动态线程池参数配置 +- [ ] 优化代码 - [ ] 接入微信服务号渠道 - [ ] 接入微信小程序渠道 - [ ] 接入PUSH渠道 @@ -120,9 +121,9 @@ curl -XPOST "127.0.0.1:8080/send" -H 'Content-Type: application/json' -d '{"co -**近期更新时间**:2022年3月10日 +**近期更新时间**:2022年3月14日 -**近期更新功能**:动态线程池、优雅停机相关(cron模块重构完成,handler模块待完成) +**近期更新功能**:动态线程池、优雅停机相关 ## 项目交流 diff --git a/austin-web/src/main/resources/application.properties b/austin-web/src/main/resources/application.properties index 722c629..9b5f564 100644 --- a/austin-web/src/main/resources/application.properties +++ b/austin-web/src/main/resources/application.properties @@ -24,6 +24,10 @@ austin-xxl-job-port=6666 # todo [grayLog] ip【optional】 austin-grayLog-ip=127.0.0.1 +##################### system properties ##################### +server.shutdown=graceful + + ##################### database properties ##################### # notice:mysql version 5.7x !!! spring.datasource.url=jdbc:mysql://${austin-database-ip}:${austin-database-port}/austin?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull