update build scripts

This commit is contained in:
Luke Pulverenti 2015-09-22 12:06:27 -04:00
parent 71780d401f
commit 86a084bf5e
2 changed files with 4 additions and 4 deletions

View File

@ -51,8 +51,8 @@ namespace MediaBrowser.Common.ScheduledTasks
DisposeTimer();
var triggerDate = lastResult != null ?
lastResult.EndTimeUtc.Add(Interval) :
DateTime.UtcNow.Add(FirstRunDelay);
lastResult.EndTimeUtc.Add(Interval) :
DateTime.UtcNow.Add(FirstRunDelay);
if (DateTime.UtcNow > triggerDate)
{
@ -62,7 +62,7 @@ namespace MediaBrowser.Common.ScheduledTasks
}
else
{
triggerDate = DateTime.UtcNow.Add(Interval);
triggerDate = DateTime.UtcNow.AddSeconds(10);
}
}

View File

@ -112,7 +112,7 @@ namespace MediaBrowser.Server.Implementations.FileOrganization
try
{
return _fileSystem
.GetFileSystemEntryPaths(path)
.GetDirectoryPaths(path)
.ToList();
}
catch (IOException ex)