mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-20 21:54:58 -04:00
New: Optional disable RSS Sync (set interval to zero)
This commit is contained in:
@@ -9,7 +9,9 @@ namespace NzbDrone.Api.Config
|
||||
public IndexerConfigModule(IConfigService configService)
|
||||
: base(configService)
|
||||
{
|
||||
SharedValidator.RuleFor(c => c.RssSyncInterval).InclusiveBetween(10, 120);
|
||||
SharedValidator.RuleFor(c => c.RssSyncInterval)
|
||||
.InclusiveBetween(10, 120)
|
||||
.When(c => c.RssSyncInterval > 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user