mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 06:47:41 +03:00
config: only enable GC on Windows
Summary: Noticed that this was running while looking at a log on Linux. This does nothing on Linux/macOS besides loading inodes (ie: extra overhead), thus disable it. Created from CodeHub with https://fburl.com/edit-in-codehub Reviewed By: genevievehelsel Differential Revision: D44835074 fbshipit-source-id: 3b80e4ccf0f63d50de395002c6a8d05a5e99952c
This commit is contained in:
parent
6f235fd970
commit
ca6b729898
@ -875,7 +875,7 @@ class EdenConfig : private ConfigSettingManager {
|
||||
*/
|
||||
ConfigSetting<bool> enableGc{
|
||||
"experimental:enable-garbage-collection",
|
||||
true,
|
||||
folly::kIsWindows,
|
||||
this};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user