extend directory watcher remove temp ignore delay

This commit is contained in:
Luke Pulverenti
2013-11-07 13:05:14 -05:00
parent b8b976d5c2
commit 1f0fc33a86
2 changed files with 10 additions and 10 deletions

View File

@@ -67,7 +67,7 @@ namespace MediaBrowser.Server.Implementations.IO
public async void RemoveTempIgnore(string path)
{
// This is an arbitraty amount of time, but delay it because file system writes often trigger events after RemoveTempIgnore has been called.
await Task.Delay(1500).ConfigureAwait(false);
await Task.Delay(2000).ConfigureAwait(false);
string val;
_tempIgnoredPaths.TryRemove(path, out val);