[ https://issues.apache.org/jira/browse/SCB-840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16579312#comment-16579312 ]
ASF GitHub Bot commented on SCB-840: ------------------------------------ aseTo2016 commented on a change in pull request #414: SCB-840 Support configable limit in buildin quota plugin URL: https://github.com/apache/incubator-servicecomb-service-center/pull/414#discussion_r209838406 ########## File path: server/infra/quota/quota.go ########## @@ -93,3 +104,15 @@ func (r ResourceType) String() string { return "RESOURCE" + strconv.Itoa(int(r)) } } + +func getEnvQuota(name string, def int) int { + env, ok := os.LookupEnv(name) + if ok { + d, err := strconv.ParseInt(env, 10, 64) Review comment: strconv.Atoi(...)返回int ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Support configable limit in buildin quota plugin > ------------------------------------------------ > > Key: SCB-840 > URL: https://issues.apache.org/jira/browse/SCB-840 > Project: Apache ServiceComb > Issue Type: Improvement > Components: Service-Center > Reporter: little-cui > Assignee: little-cui > Priority: Major > Fix For: service-center-1.1.0 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)