reduce repeated deserialization of dlna profiles

This commit is contained in:
Luke Pulverenti
2016-06-29 23:34:56 -04:00
parent 2733c598b2
commit cbeb77c0ad
3 changed files with 36 additions and 12 deletions

View File

@@ -162,6 +162,8 @@ namespace MediaBrowser.Server.Implementations.Connect
{
var path = CacheFilePath;
_logger.Info("Loading data from {0}", path);
try
{
var endpoint = _fileSystem.ReadAllText(path, Encoding.UTF8);

View File

@@ -359,7 +359,7 @@ namespace MediaBrowser.Server.Implementations.Connect
{
var path = CacheFilePath;
_logger.Debug("Loading data from {0}", path);
_logger.Info("Loading data from {0}", path);
try
{