Always disable stop if necessary timer (#18882)

This commit is contained in:
Jarred Sumner
2025-04-08 19:17:20 -07:00
committed by GitHub
parent 4a44257457
commit 03f3a59ff5
2 changed files with 73 additions and 36 deletions

View File

@@ -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];