Skip to content

Commit

Permalink
fix(apigateway): set GOMAXPROCS to 2 when executing climc (#22009)
Browse files Browse the repository at this point in the history
  • Loading branch information
zexi authored Jan 22, 2025
1 parent a94dddc commit 6199873
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/mcclient/modules/webconsole/mod_webconsole.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ func (m WebConsoleManager) doCloudShell(s *mcclient.ClientSession, info *webcons
"OS_ACCESS_KEY": "",
"OS_SECRET_KEY": "",
"OS_TRY_TERM_WIDTH": "false",
"GOMAXPROCS": "2",
}
return m.doCloudSshShell(s, info, cmd, args, env)
/*return m.doActionWithClimcPod(s, func(s *mcclient.ClientSession, clusterId string, pod jsonutils.JSONObject) (jsonutils.JSONObject, error) {
Expand Down

0 comments on commit 6199873

Please sign in to comment.