Skip to content

Commit f026f69

Browse files
committed
fix: limit cpu usage
1 parent b0e7a1b commit f026f69

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nix/ext/wrappers/default.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ buildPgrxExtension_0_11_3 rec {
3030
darwin.apple_sdk.frameworks.SystemConfiguration
3131
];
3232
OPENSSL_NO_VENDOR = 1;
33-
33+
#need to set this to 2 to avoid cpu starvation
34+
CARGO_BUILD_JOBS = "2";
3435
CARGO="${cargo}/bin/cargo";
3536
cargoLock = {
3637
lockFile = "${src}/Cargo.lock";

0 commit comments

Comments
 (0)