From 71bb0bfcd29434a70200ef8f260fb46989d3476a Mon Sep 17 00:00:00 2001
From: SZH <szh_hello@163.com>
Date: 星期四, 25 八月 2022 11:00:43 +0800
Subject: [PATCH] 修改minio配置
---
safePlatfrom-out-web/src/main/resources/config/application-guotai-demo.yaml | 2 +-
safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/config/database/DruidConfig.java | 16 ++++++++--------
safePlatfrom-out-web/src/main/resources/config/application-guotai-uat.yaml | 2 +-
3 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/config/database/DruidConfig.java b/safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/config/database/DruidConfig.java
index ddd6d43..4b7e3c5 100644
--- a/safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/config/database/DruidConfig.java
+++ b/safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/config/database/DruidConfig.java
@@ -46,8 +46,8 @@
ds.setUniqueResourceName("goalmanage");
ds.setPoolSize(2);
ds.setXaProperties(prop);
- ds.setMaxIdleTime(3600000);
- ds.setMaxLifetime(3000000);
+ ds.setMaxIdleTime(3600);
+ ds.setMaxLifetime(3000);
return ds;
}
@@ -64,8 +64,8 @@
ds.setUniqueResourceName("emergency");
ds.setPoolSize(2);
ds.setXaProperties(prop);
- ds.setMaxIdleTime(3600000);
- ds.setMaxLifetime(3000000);
+ ds.setMaxIdleTime(3600);
+ ds.setMaxLifetime(3000);
return ds;
}
@@ -80,8 +80,8 @@
ds.setUniqueResourceName("incidentmanage");
ds.setPoolSize(2);
ds.setXaProperties(prop);
- ds.setMaxIdleTime(3600000);
- ds.setMaxLifetime(3000000);
+ ds.setMaxIdleTime(3600);
+ ds.setMaxLifetime(3000);
return ds;
}
@@ -96,8 +96,8 @@
ds.setUniqueResourceName("equipment");
ds.setPoolSize(2);
ds.setXaProperties(prop);
- ds.setMaxIdleTime(3600000);
- ds.setMaxLifetime(3000000);
+ ds.setMaxIdleTime(3600);
+ ds.setMaxLifetime(3000);
return ds;
}
diff --git a/safePlatfrom-out-web/src/main/resources/config/application-guotai-demo.yaml b/safePlatfrom-out-web/src/main/resources/config/application-guotai-demo.yaml
index 5514888..5c66fcb 100644
--- a/safePlatfrom-out-web/src/main/resources/config/application-guotai-demo.yaml
+++ b/safePlatfrom-out-web/src/main/resources/config/application-guotai-demo.yaml
@@ -116,7 +116,7 @@
accessKey: QR0J7S55SZO8QI1TC2AD
secretKey: X0oSBT7vRqYWU41Ut21B+FU7G5A87BzPIRdObGjK
secure: false
- bucketName: safeplatform-dev
+ bucketName: safeplatform-demo
urlPrefix: http://121.239.169.27/file
#用户名 gkhy_team_out_dev
#密码 12345678
diff --git a/safePlatfrom-out-web/src/main/resources/config/application-guotai-uat.yaml b/safePlatfrom-out-web/src/main/resources/config/application-guotai-uat.yaml
index 67dd53f..f3e3b8d 100644
--- a/safePlatfrom-out-web/src/main/resources/config/application-guotai-uat.yaml
+++ b/safePlatfrom-out-web/src/main/resources/config/application-guotai-uat.yaml
@@ -116,7 +116,7 @@
accessKey: QR0J7S55SZO8QI1TC2AD
secretKey: X0oSBT7vRqYWU41Ut21B+FU7G5A87BzPIRdObGjK
secure: false
- bucketName: safeplatform-dev
+ bucketName: safeplatform-guotai-uat
urlPrefix: http://121.239.169.27/file
#用户名 gkhy_team_out_dev
#密码 12345678
--
Gitblit v1.9.2