Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2018-11-12 18:30:23 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2018-11-13 23:02:31 +0300
commit14e1e717aeffc2ad19a0c549dd9224fde08811e5 (patch)
tree5b94074ecf63ba5bf987cd70c03321b1308bbf24 /runtime
parentc4087410008da3cb43913bea1b2b44ae802513bb (diff)
[System.Web] Add optional shared FileSystemWatcher's to CacheDependency
Right now we create a separate FileSystemWatcher for each file in CacheDependency. On systems where inotify handles are limited this leads to problems. As a workaround we can share the FSW which watches the same directory. Since this wasn't extensively tested, hide it behind and environment variable. We enable this in the Helix environment only for now.
Diffstat (limited to 'runtime')
-rwxr-xr-xruntime/mono-test.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/mono-test.sh b/runtime/mono-test.sh
index f287fa11915..d07ce9c0b37 100755
--- a/runtime/mono-test.sh
+++ b/runtime/mono-test.sh
@@ -49,6 +49,7 @@ fi
if [ "$test_suite" = "--nunit" ]; then
cd net_4_x || exit 1
export MONO_PATH="$r/net_4_x/tests:$MONO_PATH"
+ export MONO_SYSTEMWEB_CACHEDEPENDENCY_SHARED_FSW=1
case "$test_argument_1" in
*"Microsoft.Build"*)
export TESTING_MONO=a