Skip to content

Commit

Permalink
Merge pull request #8 from Panopto/Dev
Browse files Browse the repository at this point in the history
Merge Dev branch to master
  • Loading branch information
mguthmann-panopto authored Oct 21, 2016
2 parents 3fad012 + 87fabe3 commit b5451ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ private List<RecorderSettings> GetRecorderSettings(
{
RecorderId = primaryRemoteRecorderId,
SuppressPrimary = false,
SuppressSecondary = true
SuppressSecondary = false
}
);
}
Expand Down
10 changes: 4 additions & 6 deletions SyllabusPlusSchedulerService/SchedulerService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,10 @@ private void ScheduleRecordings()
{
schedule =
db.SchedulesTable.Select(s => s)
.Where(s => !s.LastPanoptoSync.HasValue
|| (s.LastUpdate > s.LastPanoptoSync.Value
&& s.PanoptoSyncSuccess.HasValue && s.PanoptoSyncSuccess.Value)
|| !s.PanoptoSyncSuccess.HasValue
|| (!s.PanoptoSyncSuccess.Value
&& s.NumberOfAttempts < MAX_ATTEMPTS))
.Where(s => (s.NumberOfAttempts < MAX_ATTEMPTS
&& (!s.LastPanoptoSync.HasValue
|| s.LastUpdate > s.LastPanoptoSync.Value
|| !s.PanoptoSyncSuccess.HasValue)))
.OrderBy(s => s.LastUpdate).FirstOrDefault();

try
Expand Down

0 comments on commit b5451ba

Please sign in to comment.