Skip to content

Commit

Permalink
Change maxAliasesForCollections to 1000
Browse files Browse the repository at this point in the history
  • Loading branch information
azexcy committed Mar 18, 2024
1 parent e7f92cb commit daef8d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public static YamlAdvisorsConfiguration unmarshalYamlAdvisorsConfiguration(final

private static LoaderOptions createLoaderOptions() {
LoaderOptions result = new LoaderOptions();
result.setMaxAliasesForCollections(Integer.MAX_VALUE);
result.setMaxAliasesForCollections(1000);
result.setCodePointLimit(Integer.MAX_VALUE);
return result;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public ShardingSphereYamlConstructor(final Class<?> rootClass) {

private static LoaderOptions createLoaderOptions() {
LoaderOptions result = new LoaderOptions();
result.setMaxAliasesForCollections(Integer.MAX_VALUE);
result.setMaxAliasesForCollections(1000);
result.setCodePointLimit(Integer.MAX_VALUE);
return result;
}
Expand Down

0 comments on commit daef8d8

Please sign in to comment.