mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-01-25 11:13:39 +02:00
Don't store successful results for invalid providers
This commit is contained in:
parent
1e295d81f2
commit
de23182d59
@ -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…
x
Reference in New Issue
Block a user