From 8e078c97f54e2ff38af6d02b89631b83a615ac80 Mon Sep 17 00:00:00 2001 From: Jesse Bannon Date: Sat, 4 Nov 2023 22:58:05 -0700 Subject: [PATCH] docs --- src/ytdl_sub/plugins/throttle_protection.py | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/ytdl_sub/plugins/throttle_protection.py b/src/ytdl_sub/plugins/throttle_protection.py index ed76a924..25b5791b 100644 --- a/src/ytdl_sub/plugins/throttle_protection.py +++ b/src/ytdl_sub/plugins/throttle_protection.py @@ -71,16 +71,17 @@ class ThrottleProtectionOptions(OptionsDictValidator): presets: my_example_preset: - sleep_per_download_s: - min: 2.2 - max: 10.8 - sleep_per_subscription_s: - min: 9.0 - max: 14.1 - max_downloads_per_subscription: - min: 10 - max: 36 - subscription_download_probability: 1.0 + throttle_protection: + sleep_per_download_s: + min: 2.2 + max: 10.8 + sleep_per_subscription_s: + min: 9.0 + max: 14.1 + max_downloads_per_subscription: + min: 10 + max: 36 + subscription_download_probability: 1.0 """ _optional_keys = {