mirror of
https://github.com/oven-sh/bun
synced 2026-02-13 20:39:05 +00:00
Always disable stop if necessary timer (#18882)
This commit is contained in:
@@ -907,9 +907,6 @@ extern "C" JSC__JSGlobalObject* Zig__GlobalObject__create(void* console_client,
|
||||
// - `--smol` is passed
|
||||
// - The machine has less than 4GB of RAM
|
||||
bool shouldDisableStopIfNecessaryTimer = !miniMode;
|
||||
if (WTF::ramSize() < 1024ull * 1024ull * 1024ull * 4ull) {
|
||||
shouldDisableStopIfNecessaryTimer = false;
|
||||
}
|
||||
|
||||
if (disable_stop_if_necessary_timer) {
|
||||
const char value = disable_stop_if_necessary_timer[0];
|
||||
|
||||
Reference in New Issue
Block a user