Skip to content

Commit 6de625a

Browse files
authored
fix(core): jemalloc not found warning (#1513)
* fix false jemallog not found warning * empty commit
1 parent 2e0b1fd commit 6de625a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/api/bin/run.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if (jemallocPath && !alreadyPreloaded) {
2525
process.exitCode = exitCode;
2626
process.exit();
2727
}
28-
} else {
28+
} else if (!alreadyPreloaded) {
2929
console.error(
3030
"The jemalloc library was not found on your system. It is recommended to install it for better memory management. Falling back to the system default...",
3131
);

‎packages/core/bin/run.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if (jemallocPath && !alreadyPreloaded) {
2525
process.exitCode = exitCode;
2626
process.exit();
2727
}
28-
} else {
28+
} else if (!alreadyPreloaded) {
2929
console.error(
3030
"The jemalloc library was not found on your system. It is recommended to install it for better memory management. Falling back to the system default...",
3131
);

0 commit comments

Comments
 (0)