Skip to content

Commit

Permalink
Merge pull request #611 from soul2zimate/EJBCLIENT-493-main
Browse files Browse the repository at this point in the history
[EJBCLIENT-493] Fix verbose DISCOVERY_ADDITIONAL_TIMEOUT logging duri…
  • Loading branch information
tadamski authored Apr 28, 2023
2 parents 2112578 + ce7421b commit b050ea0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,9 @@ private List<Throwable> doAnyDiscovery(AbstractInvocationContext context, final
//one has already been discovered, we may want a shorter timeout for additional nodes
if (DISCOVERY_ADDITIONAL_TIMEOUT != 0) {
timeout = DISCOVERY_ADDITIONAL_TIMEOUT; //this one is actually in ms, you generally want it very short
Logs.MAIN.warnf(" DISCOVERY_ADDITIONAL_TIMEOUT = %s", timeout);
if (Logs.INVOCATION.isDebugEnabled()) {
Logs.INVOCATION.debugf(" DISCOVERY_ADDITIONAL_TIMEOUT = %s", timeout);
}
}
}
}
Expand Down

0 comments on commit b050ea0

Please sign in to comment.