diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-11-23 15:01:22 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-11-23 15:01:22 -0500 |
| commit | f6cdca1f07edd831aa584e30f9a3de2c28963111 (patch) | |
| tree | d32ac6383ff176764f7a3ff8fced2e02f5c58e42 | |
| parent | e3cf3d73f105c1a5e3e1583adf2cd082cf9180b2 (diff) | |
ease up on directory watcher delay
| -rw-r--r-- | MediaBrowser.Server.Implementations/IO/DirectoryWatchers.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/IO/DirectoryWatchers.cs b/MediaBrowser.Server.Implementations/IO/DirectoryWatchers.cs index ffb351222..b24cc2063 100644 --- a/MediaBrowser.Server.Implementations/IO/DirectoryWatchers.cs +++ b/MediaBrowser.Server.Implementations/IO/DirectoryWatchers.cs @@ -68,7 +68,8 @@ namespace MediaBrowser.Server.Implementations.IO { // This is an arbitraty amount of time, but delay it because file system writes often trigger events after RemoveTempIgnore has been called. // Seeing long delays in some situations, especially over the network. - await Task.Delay(40000).ConfigureAwait(false); + // Seeing delays up to 40 seconds, but not going to ignore changes for that long. + await Task.Delay(20000).ConfigureAwait(false); string val; _tempIgnoredPaths.TryRemove(path, out val); |
