Skip to content

Commit

Permalink
entity_audits index handle NoSuchElementException
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilbonte21 committed Oct 30, 2023
1 parent 889025c commit 019944c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ private boolean shouldUpdateFieldLimitSetting() {
LOG.error("Problem while retrieving the index field limit!", e);
return false;
}
Integer fieldLimitFromConfigurationFile = configuration.getInt(TOTAL_FIELD_LIMIT);
Integer fieldLimitFromConfigurationFile = configuration.getInt(TOTAL_FIELD_LIMIT, 0);
return currentFieldLimit == null || fieldLimitFromConfigurationFile > currentFieldLimit.asInt();
}

Expand Down

0 comments on commit 019944c

Please sign in to comment.