add image saver logging

This commit is contained in:
Luke Pulverenti
2013-11-08 10:35:11 -05:00
parent 1f0fc33a86
commit c9d9c6ff1f
4 changed files with 15 additions and 4 deletions

View File

@@ -67,7 +67,8 @@ 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(2000).ConfigureAwait(false);
// Seeing long delays in some situations, especially over the network.
await Task.Delay(40000).ConfigureAwait(false);
string val;
_tempIgnoredPaths.TryRemove(path, out val);