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:
Amelia 2025-06-15 23:42:54 +02:00
parent 4a72055bc2
commit 7bca05269f

View file

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