From 838314ca286334935a3fa63084990ab23b44e612 Mon Sep 17 00:00:00 2001
From: 16639036659 <577530412@qq.com>
Date: Fri, 07 Jul 2023 09:22:51 +0800
Subject: [PATCH] 临时提交-任务记录检索优化;暂存定时任务,处理部分异常数据。
---
src/main/resources/application.yml | 88 +++++++++++++++++++++++++++-----------------
1 files changed, 54 insertions(+), 34 deletions(-)
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 47bf5b2..b950bc7 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,24 +1,25 @@
-# 项目相关配置
-ruoyi:
- # 名称
- name: TroubleAndRisk
- # 版本
- version: 1.0.3
- # 版权年份
- copyrightYear: 2021
- # 实例演示开关
- demoEnabled: false
- # 文件路径 示例( Windows配置D:/TroubleAndRisk/uploadPath,Linux配置 /home/TroubleAndRisk/uploadPath)
-# profile: /www/TroubleAndRisk/uploadPath
- profile: D:/ProjFile/TroubleAndRisk
- # 获取ip地址开关
- addressEnabled: true
+## 项目相关配置
+#ruoyi:
+# # 名称
+# name: TroubleAndRisk
+# # 版本
+# version: 1.0.3
+# # 版权年份
+# copyrightYear: 2022-2023
+# # 实例演示开关
+# demoEnabled: false
+# # 文件路径 示例( Windows配置D:/TroubleAndRisk/uploadPath,Linux配置 /home/TroubleAndRisk/uploadPath)
+## profile: /www/TroubleAndRisk/uploadPath
+# profile: D:/ProjFile/TroubleAndRisk
+## profile: /home/troubleAndRisk/upload
+# # 获取ip地址开关
+# addressEnabled: true
# 获取服务器域名
# 开发环境配置
server:
# 服务器的HTTPS端口,为443
- port: 443
+# port: 443
# ssl:
# key-store: /root/ssl/syf.com.pfx
# key-store: H:/wm/ssl/syf.com.pfx
@@ -34,21 +35,6 @@
# Tomcat启动初始化的线程数,默认值25
min-spare-threads: 30
-http:
- # HTTP端口,39559
- additionalPorts: 80
-
-# 日志配置
-logging:
- level:
- com.ruoyi: debug
- org.springframework: warn
-
-# 用户配置
-user:
- password:
- # 密码错误{maxRetryCount}次锁定10分钟
- maxRetryCount: 5
# Spring配置
spring:
@@ -66,14 +52,19 @@
time-zone: GMT+8
date-format: yyyy-MM-dd HH:mm:ss
profiles:
- active: druid
+ active: guotai-uat
+# active: druid
+# druid使用的数据库是5.7.28,过高的版本,可能有部分函数不支持
+# active: uat
+# active: uat8
+# active: local
# 文件上传
servlet:
multipart:
# 单个文件大小
- max-file-size: 30MB
+ max-file-size: 50MB
# 设置总上传的文件大小
- max-request-size: 60MB
+ max-request-size: 50MB
# 服务模块
devtools:
restart:
@@ -84,6 +75,35 @@
jcache:
config: classpath:ehcache.xml
+# 日志配置
+logging:
+ level:
+ com.ruoyi: debug
+ org.springframework: warn
+
+# 用户配置
+user:
+ password:
+ # 密码错误{maxRetryCount}次锁定10分钟
+ maxRetryCount: 5
+# # redis
+# redis:
+# host: 192.168.0.52
+# port: 6379
+# password: SEF98uvs98dUAUEF90Udssa # Redis 服务器密码,默认为空。生产中,一定要设置 Redis 密码!
+# database: 0 # Redis 数据库号,默认为 0
+# timeout: 15000 # Redis 连接超时时间,单位:毫秒。
+# lettuce:
+# pool:
+# max-active: 4
+# # 对应 RedisProperties.Jedis 内部类
+# jedis:
+# pool:
+# max-active: 4 # 连接池最大连接数,默认为 8 。使用负数表示没有限制 同一时间最大只能执行8条sql语句,每执行一条语句就会建立一个连接
+# max-idle: 4 # 默认连接数最大空闲的连接数,默认为 8 。使用负数表示没有限制。
+# min-idle: 0 # 默认连接池最小空闲的连接数,默认为 0 。允许设置 0 和 正数。
+# max-wait: -1
+
# MyBatis
mybatis:
# 搜索指定包别名
--
Gitblit v1.9.2