File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
rust/operator-binary/src/config Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ fn recommended_trino_jvm_args(_product_version: u16) -> Result<Vec<String>, Erro
107107fn recommended_trino_jvm_args ( product_version : u16 ) -> Result < Vec < String > , Error > {
108108 match product_version {
109109 // Copied from https://trino.io/docs/451/installation/deployment.html
110- 451 .. 455 => Ok ( vec ! [
110+ 451 => Ok ( vec ! [
111111 "-XX:InitialRAMPercentage=80" . to_owned( ) ,
112112 "-XX:MaxRAMPercentage=80" . to_owned( ) ,
113113 "-XX:G1HeapRegionSize=32M" . to_owned( ) ,
@@ -127,7 +127,7 @@ fn recommended_trino_jvm_args(product_version: u16) -> Result<Vec<String>, Error
127127 // Copied from:
128128 // - https://trino.io/docs/455/installation/deployment.html#jvm-config
129129 // - https://trino.io/docs/470/installation/deployment.html#jvm-config
130- 455 .. => Ok ( vec ! [
130+ 455 | 470 => Ok ( vec ! [
131131 "-XX:InitialRAMPercentage=80" . to_owned( ) ,
132132 "-XX:MaxRAMPercentage=80" . to_owned( ) ,
133133 "-XX:G1HeapRegionSize=32M" . to_owned( ) ,
You can’t perform that action at this time.
0 commit comments