Skip to content

Commit

Permalink
Set reasonable value for ttMaxBytesValue
Browse files Browse the repository at this point in the history
  • Loading branch information
joker234 committed Nov 15, 2022
1 parent fe5b446 commit baee9f0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ private enum DatabaseType {
private String keytablesPassword;
private DatabaseType keytablesType = DatabaseType.NONE;
private String keytablesUrl;
// TODO replace the following two with reasonable values
private long ttMaxBytesValue = Long.MAX_VALUE;
private long ttMaxBytesValue = 512L * 1024L * 1024L;
private int ttMaxNumRoles = Integer.MAX_VALUE;

private ConfigureApplication(ApplicationArguments args) {
Expand Down

0 comments on commit baee9f0

Please sign in to comment.