Skip to content

Commit

Permalink
fix JVM conditions 6 to 12
Browse files Browse the repository at this point in the history
  • Loading branch information
dsalokin committed Aug 12, 2024
1 parent 0c3864a commit 4d52bbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/allure-testops/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@
{{- $xmx = mul $xms 3 }}
{{- end }}
{{- end }}
{{- if gt ($v | trimSuffix "Gi" | atoi ) 6 }}
{{- if gt ($v | trimSuffix "Gi" | atoi ) 12 }}
{{- printf "-XX:+UseG1GC -XX:+UseStringDeduplication -Xms%d%s -Xmx%d%s" $xms $unit $xmx $unit }}
{{- else }}
{{- printf "-XX:+UseParallelGC -Xms%d%s -Xmx%d%s" $xms $unit $xmx $unit }}
Expand Down

0 comments on commit 4d52bbe

Please sign in to comment.