Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
涂亚平
/
subsidy
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2174a9b2
authored
Apr 24, 2023
by
涂亚平
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oss
1 parent
80630d31
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
src/main/java/com/subsidy/controller/OssController.java
src/main/resources/application.properties
src/main/java/com/subsidy/controller/OssController.java
View file @
2174a9b
...
...
@@ -50,7 +50,8 @@ public class OssController {
if
(
env
.
equals
(
"test"
))
{
env
=
"ykhl-bigger-test"
;
}
else
{
}
if
(
env
.
equals
(
"prod"
))
{
env
=
"ykhl-bigger"
;
}
...
...
src/main/resources/application.properties
View file @
2174a9b
# 环境配置
spring.profiles.active
=
prod
spring.profiles.active
=
dev
#和CPU数
spring.server.acceptorThreadCount
=
600
spring.server.minSpareThreads
=
100
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment