Skip to content

Commit

Permalink
Implementing Issue #7047 - Optionally load jemalloc
Browse files Browse the repository at this point in the history
Signed-off-by: Antonio Mota <antonio.mota@citi.com>
  • Loading branch information
amsmota committed May 14, 2024
1 parent 5affb81 commit 24bf03e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -402,12 +402,12 @@ private void detectJemalloc(final List<String> lines) {
t -> {
try {
String jemallocEnabled = environment.get("BESU_USING_JEMALLOC");
if(jemallocEnabled.equals("true")) {
if (jemallocEnabled.equals("true")) {
final String version = PlatformDetector.getJemalloc();
lines.add("jemalloc: " + version);
}else{
} else {
logger.info(
"BESU_USING_JEMALLOC is present but is not set to true, jemalloc library not loaded");
"BESU_USING_JEMALLOC is present but is not set to true, jemalloc library not loaded");
}

} catch (final Throwable throwable) {
Expand Down

0 comments on commit 24bf03e

Please sign in to comment.