mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-05 17:56:18 +00:00
add logging
This commit is contained in:
@@ -41,7 +41,7 @@ namespace MediaBrowser.Server.Implementations.Connect
|
||||
|
||||
public void Run()
|
||||
{
|
||||
Task.Run(() => LoadCachedAddress());
|
||||
LoadCachedAddress();
|
||||
|
||||
_timer = new PeriodicTimer(TimerCallback, null, TimeSpan.FromSeconds(5), TimeSpan.FromHours(3));
|
||||
}
|
||||
|
||||
@@ -359,6 +359,8 @@ namespace MediaBrowser.Server.Implementations.Connect
|
||||
{
|
||||
var path = CacheFilePath;
|
||||
|
||||
_logger.Debug("Loading data from {0}", path);
|
||||
|
||||
try
|
||||
{
|
||||
lock (_dataFileLock)
|
||||
|
||||
Reference in New Issue
Block a user