mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
update build scripts
This commit is contained in:
parent
71780d401f
commit
86a084bf5e
@ -51,8 +51,8 @@ namespace MediaBrowser.Common.ScheduledTasks
|
|||||||
DisposeTimer();
|
DisposeTimer();
|
||||||
|
|
||||||
var triggerDate = lastResult != null ?
|
var triggerDate = lastResult != null ?
|
||||||
lastResult.EndTimeUtc.Add(Interval) :
|
lastResult.EndTimeUtc.Add(Interval) :
|
||||||
DateTime.UtcNow.Add(FirstRunDelay);
|
DateTime.UtcNow.Add(FirstRunDelay);
|
||||||
|
|
||||||
if (DateTime.UtcNow > triggerDate)
|
if (DateTime.UtcNow > triggerDate)
|
||||||
{
|
{
|
||||||
@ -62,7 +62,7 @@ namespace MediaBrowser.Common.ScheduledTasks
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
triggerDate = DateTime.UtcNow.Add(Interval);
|
triggerDate = DateTime.UtcNow.AddSeconds(10);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -112,7 +112,7 @@ namespace MediaBrowser.Server.Implementations.FileOrganization
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
return _fileSystem
|
return _fileSystem
|
||||||
.GetFileSystemEntryPaths(path)
|
.GetDirectoryPaths(path)
|
||||||
.ToList();
|
.ToList();
|
||||||
}
|
}
|
||||||
catch (IOException ex)
|
catch (IOException ex)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user