Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .buckconfig
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,11 @@ sqlite_materializer_state = true
# Persist the dep-file cache too, so local actions still hit it after a daemon restart.
sqlite_dep_file_state = true
defer_write_actions = true

[buck2_resource_control]
# A host without a systemd user manager, such as a container, runs the daemon without cgroups.
status = if_available
enable_suspension = true
# Killing a suspended action throws away its work, and a long action such as an RPM build then starts
# over. A frozen action keeps its work, but the kernel frees its memory only by swapping it out.
preferred_action_suspend_strategy = cgroup_freeze
Loading