aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/IO
diff options
context:
space:
mode:
authorEric Reed <ebr@mediabrowser3.com>2013-05-08 22:51:29 -0400
committerEric Reed <ebr@mediabrowser3.com>2013-05-08 22:51:29 -0400
commit594e2a2dbbc04679771cd2b7207d5082231a8223 (patch)
tree4b3e126d72aa53e6aa4e74c74380bdcb80bc412c /MediaBrowser.Server.Implementations/IO
parentbeafdb27f9e15e30120e872c017aa6eb267e6d7f (diff)
parentfbd052abfc2724fcb151582746c9783d7ab8a97a (diff)
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
Diffstat (limited to 'MediaBrowser.Server.Implementations/IO')
-rw-r--r--MediaBrowser.Server.Implementations/IO/DirectoryWatchers.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/IO/DirectoryWatchers.cs b/MediaBrowser.Server.Implementations/IO/DirectoryWatchers.cs
index beeb1c181..b9b2b560b 100644
--- a/MediaBrowser.Server.Implementations/IO/DirectoryWatchers.cs
+++ b/MediaBrowser.Server.Implementations/IO/DirectoryWatchers.cs
@@ -23,7 +23,7 @@ namespace MediaBrowser.Server.Implementations.IO
/// <summary>
/// The file system watchers
/// </summary>
- private ConcurrentDictionary<string, FileSystemWatcher> _fileSystemWatchers = new ConcurrentDictionary<string,FileSystemWatcher>(StringComparer.OrdinalIgnoreCase);
+ private readonly ConcurrentDictionary<string, FileSystemWatcher> _fileSystemWatchers = new ConcurrentDictionary<string,FileSystemWatcher>(StringComparer.OrdinalIgnoreCase);
/// <summary>
/// The update timer
/// </summary>
@@ -424,6 +424,7 @@ namespace MediaBrowser.Server.Implementations.IO
//still being written to
//or being processed by another thread
//or does not exist (has already been processed)
+ Logger.Debug("{0} is locked.", path);
return true;
}
}