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(); 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);
} }
} }

View File

@ -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)