Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tke-eos
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
tke-eos
Commits
97589334
Commit
97589334
authored
May 15, 2019
by
xuezj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cloth资源调整
parent
620775c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
resourceLimit.js
serviceTemplate/resourceLimit.js
+12
-2
No files found.
serviceTemplate/resourceLimit.js
View file @
97589334
...
@@ -18,7 +18,7 @@ const defaultJava = {
...
@@ -18,7 +18,7 @@ const defaultJava = {
},
},
cpu
:
{
cpu
:
{
request
:
100
,
request
:
100
,
limit
:
2
000
limit
:
1
000
}
}
}
}
...
@@ -79,7 +79,6 @@ const defaultRabbitmq = {
...
@@ -79,7 +79,6 @@ const defaultRabbitmq = {
let
projectConfig
=
{}
let
projectConfig
=
{}
projectConfig
[
"
clotho
"
]
=
projectConfig
[
"
gu-bei
"
]
=
projectConfig
[
"
gu-bei
"
]
=
projectConfig
[
"
cash-loan-flow
"
]
=
projectConfig
[
"
cash-loan-flow
"
]
=
projectConfig
[
"
black-hole
"
]
=
projectConfig
[
"
black-hole
"
]
=
...
@@ -95,6 +94,17 @@ projectConfig["xyqb"] = _.assign({}, defaultJava, {
...
@@ -95,6 +94,17 @@ projectConfig["xyqb"] = _.assign({}, defaultJava, {
}
}
})
})
// clotho启动比较耗时
projectConfig
[
"
clotho
"
]
=
{
"
memory
"
:
{
"
request
"
:
800
,
"
limit
"
:
1500
},
cpu
:
{
request
:
100
}
}
projectConfig
[
"
urge-dispatcher
"
]
=
projectConfig
[
"
urge-dispatcher
"
]
=
projectConfig
[
"
traffic-webapp
"
]
=
_
.
assign
({},
defaultJava
,
{
projectConfig
[
"
traffic-webapp
"
]
=
_
.
assign
({},
defaultJava
,
{
"
memory
"
:
{
"
memory
"
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment