mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-04-24 05:47:22 -04:00
Add hourly limits as defaults for FL and BTN
This commit is contained in:
parent
fe9cad5697
commit
d44b946d30
2 changed files with 12 additions and 0 deletions
|
@ -17,6 +17,12 @@ namespace NzbDrone.Core.Indexers.BroadcastheNet
|
|||
{
|
||||
private static readonly BroadcastheNetSettingsValidator Validator = new ();
|
||||
|
||||
public BroadcastheNetSettings()
|
||||
{
|
||||
BaseSettings.QueryLimit = 150;
|
||||
BaseSettings.LimitsUnit = (int)IndexerLimitsUnit.Hour;
|
||||
}
|
||||
|
||||
[FieldDefinition(2, Label = "API Key", Privacy = PrivacyLevel.ApiKey)]
|
||||
public string ApiKey { get; set; }
|
||||
|
||||
|
|
|
@ -18,6 +18,12 @@ public class FileListSettings : NoAuthTorrentBaseSettings
|
|||
{
|
||||
private static readonly FileListSettingsValidator Validator = new ();
|
||||
|
||||
public FileListSettings()
|
||||
{
|
||||
BaseSettings.QueryLimit = 150;
|
||||
BaseSettings.LimitsUnit = (int)IndexerLimitsUnit.Hour;
|
||||
}
|
||||
|
||||
[FieldDefinition(2, Label = "Username", HelpText = "Site Username", Privacy = PrivacyLevel.UserName)]
|
||||
public string Username { get; set; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue