Skip to content

Commit 25359b1

Browse files
committed
Update maxBodySize type in RequestAnalyzerConfig to match usage in TrinoQueryProperties
1 parent 64a3ddd commit 25359b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gateway-ha/src/main/java/io/trino/gateway/ha/config/RequestAnalyzerConfig.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
public class RequestAnalyzerConfig
1919
{
20-
private Integer maxBodySize = 1_000_000;
20+
private int maxBodySize = 1_000_000;
2121

2222
private boolean isClientsUseV2Format;
2323
private String tokenUserField = "email";
@@ -26,13 +26,13 @@ public class RequestAnalyzerConfig
2626

2727
public RequestAnalyzerConfig() {}
2828

29-
public Integer getMaxBodySize()
29+
public int getMaxBodySize()
3030
{
3131
return maxBodySize;
3232
}
3333

3434
@Max(Integer.MAX_VALUE)
35-
public void setMaxBodySize(Integer maxBodySize)
35+
public void setMaxBodySize(int maxBodySize)
3636
{
3737
this.maxBodySize = maxBodySize;
3838
}

0 commit comments

Comments
 (0)