Skip to content

Commit baee9f0

Browse files
committed
Set reasonable value for ttMaxBytesValue
1 parent fe5b446 commit baee9f0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/lombok/org/heigit/ohsome/ohsomeapi/utils/ConfigureApplication.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ private enum DatabaseType {
3636
private String keytablesPassword;
3737
private DatabaseType keytablesType = DatabaseType.NONE;
3838
private String keytablesUrl;
39-
// TODO replace the following two with reasonable values
40-
private long ttMaxBytesValue = Long.MAX_VALUE;
39+
private long ttMaxBytesValue = 512L * 1024L * 1024L;
4140
private int ttMaxNumRoles = Integer.MAX_VALUE;
4241

4342
private ConfigureApplication(ApplicationArguments args) {

0 commit comments

Comments
 (0)