ConfigCat SDK for .NET. ConfigCat is a hosted feature flag service: https://configcat.com. Manage feature toggles across frontend, backend, mobile, desktop apps. Alternative to LaunchDarkly. Management app + feature flag SDKs.
In this PR I replaced FileSystemWatcher with polling on file changes with 1s interval. For example, FileSystemWatcher didn't work on Linux in a docker container.
Also, removed the init state waiting nonsense and replaced it with a synchronous file read in the constructor.
Requirement checklist (only if applicable)
[x] I have covered the applied changes with automated tests.
[x] I have executed the full automated test set against my changes.
[x] I have validated my changes against all supported platform versions.
Describe the purpose of your pull request
In this PR I replaced
FileSystemWatcher
with polling on file changes with 1s interval. For example,FileSystemWatcher
didn't work on Linux in a docker container.Also, removed the init state waiting nonsense and replaced it with a synchronous file read in the constructor.
Requirement checklist (only if applicable)