From 9284e6c24f849b03cbc2ac7d4d7e8c757232c93f Mon Sep 17 00:00:00 2001 From: Yury Samkevich Date: Thu, 7 Nov 2024 06:40:11 -0800 Subject: [PATCH] pass CHGDISABLE to rustclink action Summary: See previous diff for context. Reviewed By: blackm00n Differential Revision: D65478146 fbshipit-source-id: 0c555993b7da9516247fa479f0f103c312057701 --- rust/tools/rustc_action.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rust/tools/rustc_action.py b/rust/tools/rustc_action.py index d15971bf9..e3cb36560 100755 --- a/rust/tools/rustc_action.py +++ b/rust/tools/rustc_action.py @@ -273,6 +273,11 @@ async def main() -> int: "SYSROOT_MULTIPLEXER_DEBUG", # Required on Windows for getpass.getuser() to work. "USERNAME", + # Option to disable hg pre-fork client. + # We might pass it to avoid long-running process created inside a per-action cgroup. + # Such long-running process make it impossible to clean up systemd slices. + # Context https://fb.workplace.com/groups/mercurialusers/permalink/2901424916673036/ + "CHGDISABLE", ] if k in os.environ }