diff --git a/gateway-ha/src/main/java/io/trino/gateway/ha/config/RequestAnalyzerConfig.java b/gateway-ha/src/main/java/io/trino/gateway/ha/config/RequestAnalyzerConfig.java index 80a8a7d2d..2277d129b 100644 --- a/gateway-ha/src/main/java/io/trino/gateway/ha/config/RequestAnalyzerConfig.java +++ b/gateway-ha/src/main/java/io/trino/gateway/ha/config/RequestAnalyzerConfig.java @@ -17,7 +17,7 @@ public class RequestAnalyzerConfig { - private Integer maxBodySize = 1_000_000; + private int maxBodySize = 1_000_000; private boolean isClientsUseV2Format; private String tokenUserField = "email"; @@ -26,13 +26,13 @@ public class RequestAnalyzerConfig public RequestAnalyzerConfig() {} - public Integer getMaxBodySize() + public int getMaxBodySize() { return maxBodySize; } @Max(Integer.MAX_VALUE) - public void setMaxBodySize(Integer maxBodySize) + public void setMaxBodySize(int maxBodySize) { this.maxBodySize = maxBodySize; }