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:
Xavier Deguillard 2023-04-10 11:23:11 -07:00 committed by Facebook GitHub Bot
parent 6f235fd970
commit ca6b729898

View File

@ -875,7 +875,7 @@ class EdenConfig : private ConfigSettingManager {
*/
ConfigSetting<bool> enableGc{
"experimental:enable-garbage-collection",
true,
folly::kIsWindows,
this};
/**