update build scripts

pull/702/head
Luke Pulverenti 9 years ago
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…
Cancel
Save