mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
Don't store successful results for invalid providers
(cherry picked from commit de23182d593e2284972103d505e66dd8d812dfdb)
This commit is contained in:
parent
6ac42e268e
commit
b919941891
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue