Skip to content

Commit

Permalink
s/target_os = "linux"/linux/
Browse files Browse the repository at this point in the history
  • Loading branch information
sharnoff committed Apr 9, 2024
1 parent 5166a9a commit 3e54a0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compute_tools/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pub fn write_postgres_conf(
}
}

if cfg!(target_os = "linux") {
if cfg!(linux) {
// Check /proc/sys/vm/overcommit_memory -- if it equals 2 (i.e. linux memory overcommit is
// disabled), then the control plane has enabled swap and we should set
// dynamic_shared_memory_type = 'mmap'.
Expand Down

0 comments on commit 3e54a0e

Please sign in to comment.