aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-05-24 14:33:28 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-05-24 14:33:28 -0400
commitf26a639a36aed431a9090fb833358871f2192e74 (patch)
tree475018d7c613e12d922dc6d7b5a76c0043c26293 /MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs
parenta2b1977f608db4a6df6e346f8b1ba0537d9ae495 (diff)
fix audio-only hls
Diffstat (limited to 'MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs')
-rw-r--r--MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs b/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs
index 2d4770fac..491549d64 100644
--- a/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs
+++ b/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs
@@ -82,9 +82,9 @@ 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.
- // Seeing delays up to 40 seconds, but not going to ignore changes for that long.
- await Task.Delay(5000).ConfigureAwait(false);
+ // Seeing long delays in some situations, especially over the network, sometimes up to 45 seconds
+ // But if we make this delay too high, we risk missing legitimate changes
+ await Task.Delay(10000).ConfigureAwait(false);
string val;
_tempIgnoredPaths.TryRemove(path, out val);