-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RHPAM-3528] Increase KieExecutorMDB threads in RHPAM image #750
[RHPAM-3528] Increase KieExecutorMDB threads in RHPAM image #750
Conversation
fa634e5
to
1b1cc18
Compare
fcedf64
to
234c7e2
Compare
3dad021
to
68d51c5
Compare
mdbMaxSessionPassed := false | ||
for _, env := range env.Servers[0].DeploymentConfigs[0].Spec.Template.Spec.Containers[0].Env { | ||
if strings.HasPrefix(env.Name, "JBOSS_MDB") { | ||
if env.Name != "JBOSS_MDB_MAX_SESSION" && env.Value == "40" { | ||
if strings.HasPrefix(env.Name, "KIE_EXECUTOR_MDB") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is a better way to test env, e.g.:
assert.Equal(t, "auth", getEnvVariable(env.Console.DeploymentConfigs[0].Spec.Template.Spec.Containers[0], "APPFORMER_INFINISPAN_SASL_QOP"))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
6e149e5
to
9c01d1e
Compare
d462c81
to
20cb351
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: desmax74, spolti The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: desmax74 <[email protected]>
2837a7c
to
a0bd0e8
Compare
Kudos, SonarCloud Quality Gate passed! |
/lgtm |
See: https://issues.redhat.com/browse/RHPAM-3528
Signed-off-by: desmax74 [email protected]