Don't store successful results for invalid providers

(cherry picked from commit de23182d593e2284972103d505e66dd8d812dfdb)
pull/9390/head
Mark McDowall 1 year ago committed by Bogdan
parent 17b8605751
commit 437e2f4597

@ -59,6 +59,11 @@ namespace NzbDrone.Core.ThingiProvider.Status
public virtual void RecordSuccess(int providerId)
{
if (providerId <= 0)
{
return;
}
lock (_syncRoot)
{
var status = GetProviderStatus(providerId);

Loading…
Cancel
Save