Commit 599ea608 authored by xuezj's avatar xuezj

修复 限制获取失败

parent 97589334
......@@ -62,7 +62,7 @@ const createService = async (ctx) => {
}
// 资源限制
let resources = projectConfig[system_name] || defaultConfig[type]
let resources = projectConfig[data.system_name] || defaultConfig[type]
logger.info('资源限制', JSON.stringify(resources))
data.resources = resources
......
......@@ -101,7 +101,8 @@ projectConfig["clotho"] = {
"limit": 1500
},
cpu: {
request: 100
request: 100,
limit: 2000
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment