mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
add logging
This commit is contained in:
parent
e74160596d
commit
367e16dcdf
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user