Don't remove errored events on sync
They can be re-tried after an admin has cleared the Scrobble error table
This commit is contained in:
parent
4a72055bc2
commit
7bca05269f
1 changed files with 2 additions and 2 deletions
|
|
@ -724,13 +724,13 @@ public class ScrobblingService : IScrobblingService
|
|||
.Where(e => !erroredSeries.Contains(e.SeriesId))
|
||||
.ToList();
|
||||
|
||||
// Clear any events that are already on error table
|
||||
/*// Clear any events that are already on error table
|
||||
var erroredEvents = await _unitOfWork.ScrobbleRepository.GetAllEventsWithSeriesIds(erroredSeries);
|
||||
if (erroredEvents.Count > 0)
|
||||
{
|
||||
_unitOfWork.ScrobbleRepository.Remove(erroredEvents);
|
||||
await _unitOfWork.CommitAsync();
|
||||
}
|
||||
}*/
|
||||
|
||||
return new ScrobbleSyncContext
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue