sapling/eden/fs/config
Xavier Deguillard 6d90ceea25 prjfs: add timeout to ProjectedFS callbacks
Summary:
One of the main sub-par user experience on Windows is the lack of notification
of any kind when EdenFS can't reach the Mercurial servers. Prior to this diff,
the callbacks would never return, causing commands to simply hangs for the
user.

As a first step, let's add a timeout, a later step will hook the notification
mechanism used on macOS/Linux to display a notification when timeouts occurs.

The only callback that doesn't have a proper timeout is the notification one,
as timing out on these would mean that EdenFS won't have registered that some
files/directories have been materialized which will lead to inconsistencies
later.

Reviewed By: kmancini

Differential Revision: D24809645

fbshipit-source-id: 0ddd9d443a17db405a3edbaa8edecf3764c31d37
2020-12-03 10:45:29 -08:00
..
test config test: use AbsolutePath instead of folly::fs::path 2020-11-18 14:39:17 -08:00
CachedParsedFileMonitor.h utils: move win/utils/Stub.h to utils/NotImplemented.h 2020-09-16 12:31:46 -07:00
CheckoutConfig.cpp remove dependency on glog 2020-11-10 16:31:15 -08:00
CheckoutConfig.h edenfs: add per-checkout case sensitivity setting 2020-09-18 08:43:14 -07:00
CMakeLists.txt allow multiple prefixes for paths to be logged 2020-09-02 22:54:23 -07:00
ConfigSetting.h refactor EdenConfig to use private inheritance 2019-10-11 11:01:49 -07:00
eden_config.thrift enable py3 thrift language 2020-06-10 19:29:17 -07:00
EdenConfig.cpp path: verify that composed paths are comprised of valid PathComponent 2020-10-22 16:24:17 -07:00
EdenConfig.h prjfs: add timeout to ProjectedFS callbacks 2020-12-03 10:45:29 -08:00
FieldConverter.cpp check multiple locations for x509 certs 2020-09-23 19:58:52 -07:00
FieldConverter.h teach eden to parse arrays in configs 2020-09-14 17:40:13 -07:00
FileChangeMonitor.cpp utils: move win/utils/Stub.h to utils/NotImplemented.h 2020-09-16 12:31:46 -07:00
FileChangeMonitor.h utils: move win/utils/Stub.h to utils/NotImplemented.h 2020-09-16 12:31:46 -07:00
ReloadableConfig.cpp log the path that caused configs to be reloaded 2020-09-11 16:53:49 -07:00
ReloadableConfig.h optimize and simplify ReloadableConfig 2019-10-11 10:42:36 -07:00
TomlConfig.h remove dependency on glog 2020-11-10 16:31:15 -08:00