mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 09:48:18 +08:00
PERF: Set JOBS=1
for low memory build environment (#32326)
This restores the fix in ae2bc240af434168aeebe73d550b1c979ca3a29b
This commit is contained in:

committed by
GitHub

parent
a6e35b0225
commit
b3389a4cc3
@ -81,6 +81,7 @@ if low_memory_environment?
|
||||
STDERR.puts "Node.js heap_size_limit is less than 2048MB. Setting --max-old-space-size=2048 and CHEAP_SOURCE_MAPS=1"
|
||||
build_env["NODE_OPTIONS"] = "--max_old_space_size=2048"
|
||||
build_env["CHEAP_SOURCE_MAPS"] = "1"
|
||||
build_env["JOBS"] = "1"
|
||||
end
|
||||
|
||||
build_cmd << "-prod" if resolved_ember_env == "production"
|
||||
|
Reference in New Issue
Block a user