Skip to content

Commit

Permalink
fix pmd
Browse files Browse the repository at this point in the history
  • Loading branch information
srijeet0406 committed Sep 22, 2023
1 parent 6164e3f commit 8e0f473
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public static void setNegativeCachingTTL(final JsonNode config) {
try {
node = JsonUtils.getJsonNode(JsonUtils.getJsonNode(config, "config"), "soa");
} catch (JsonUtilsException e) {
e.printStackTrace();
LOGGER.warn("Couldn't find a JSON node for config or soa; continuing by setting the minimum value to 900", e);
} finally {
negativeCachingTTL = JsonUtils.optLong(node, "minimum", 900L);
}
Expand Down

0 comments on commit 8e0f473

Please sign in to comment.