mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-04-29 08:10:51 +02:00
Add hourly limits as defaults for PTP
This commit is contained in:
parent
c8f5099423
commit
b0212dd780
1 changed files with 6 additions and 0 deletions
|
|
@ -18,6 +18,12 @@ public class PassThePopcornSettings : NoAuthTorrentBaseSettings
|
|||
{
|
||||
private static readonly PassThePopcornSettingsValidator Validator = new ();
|
||||
|
||||
public PassThePopcornSettings()
|
||||
{
|
||||
BaseSettings.QueryLimit = 150;
|
||||
BaseSettings.LimitsUnit = (int)IndexerLimitsUnit.Hour;
|
||||
}
|
||||
|
||||
[FieldDefinition(2, Label = "IndexerSettingsApiUser", HelpText = "IndexerPassThePopcornSettingsApiUserHelpText", Privacy = PrivacyLevel.UserName)]
|
||||
public string APIUser { get; set; }
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue