sapling/eden/fs/config
Michael Cuevas a09fd24480 Make number of queue workers configurable
Summary:
The number of worker threads handling downloading content from source control servers is currently hard-coded. We want to make that value configurable.

This diff removes all hardcoded values and adds a numBackingstoreThreads option to the edenfs config. This value defaults to the original hard-coded value, 32. The minimum number of threads is 1.

As a result, we remove the numberThreads parameter from the HgQueuedBackingStore constructor and modify all code that previously used that parameter.

Reviewed By: kmancini

Differential Revision: D31739881

fbshipit-source-id: fc1706a9a4b7b7b4f4b5d87ac428ddc025616d40
2021-10-19 12:35:24 -07:00
..
test explicit Hash20 instead of Hash [proxy hash removal 2/n] 2021-10-01 12:43:26 -07:00
CachedParsedFileMonitor.h config: namespace facebook::eden 2021-06-08 19:29:37 -07:00
CheckoutConfig.cpp explicit Hash20 instead of Hash [proxy hash removal 2/n] 2021-10-01 12:43:26 -07:00
CheckoutConfig.h config: add a clone.default-mount-protocol config 2021-08-04 19:31:05 -07:00
CMakeLists.txt allow multiple prefixes for paths to be logged 2020-09-02 22:54:23 -07:00
ConfigSetting.h config: namespace facebook::eden 2021-06-08 19:29:37 -07:00
eden_config.thrift thriftformat 2021-08-17 11:30:55 -07:00
EdenConfig.cpp fix facebook:enable-service-router default value 2021-10-07 12:21:06 -07:00
EdenConfig.h Make number of queue workers configurable 2021-10-19 12:35:24 -07:00
FieldConverter.cpp config: add a clone.default-mount-protocol config 2021-08-04 19:31:05 -07:00
FieldConverter.h config: add a new knob 2021-10-05 15:52:49 -07:00
FileChangeMonitor.cpp config: namespace facebook::eden 2021-06-08 19:29:37 -07:00
FileChangeMonitor.h config: namespace facebook::eden 2021-06-08 19:29:37 -07:00
MountProtocol.h config: add a clone.default-mount-protocol config 2021-08-04 19:31:05 -07:00
ReloadableConfig.cpp config: namespace facebook::eden 2021-06-08 19:29:37 -07:00
ReloadableConfig.h config: namespace facebook::eden 2021-06-08 19:29:37 -07:00
TomlConfig.h config: namespace facebook::eden 2021-06-08 19:29:37 -07:00