From f7ade7a66dabf6e4dcaa2cec5dc832c65a4cf097 Mon Sep 17 00:00:00 2001 From: Jesse Bannon Date: Sat, 31 May 2025 09:33:05 -0700 Subject: [PATCH] fix doc --- docs/source/config_reference/plugins.rst | 2 +- src/ytdl_sub/plugins/throttle_protection.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/config_reference/plugins.rst b/docs/source/config_reference/plugins.rst index 91037f6a..4825f0f7 100644 --- a/docs/source/config_reference/plugins.rst +++ b/docs/source/config_reference/plugins.rst @@ -903,7 +903,7 @@ scripted. presets: my_example_preset: throttle_protection: - sleep_per_metadata_s: + sleep_per_request_s: min: 5.5 max: 10.4 sleep_per_download_s: diff --git a/src/ytdl_sub/plugins/throttle_protection.py b/src/ytdl_sub/plugins/throttle_protection.py index c48ab5ef..77ec4fa8 100644 --- a/src/ytdl_sub/plugins/throttle_protection.py +++ b/src/ytdl_sub/plugins/throttle_protection.py @@ -87,7 +87,7 @@ class ThrottleProtectionOptions(ToggleableOptionsDictValidator): presets: my_example_preset: throttle_protection: - sleep_per_metadata_s: + sleep_per_request_s: min: 5.5 max: 10.4 sleep_per_download_s: