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: