diff --git a/src/ytdl_sub/prebuilt_presets/helpers/throttle_protection.yaml b/src/ytdl_sub/prebuilt_presets/helpers/throttle_protection.yaml index 81264d69..f9c6b93a 100644 --- a/src/ytdl_sub/prebuilt_presets/helpers/throttle_protection.yaml +++ b/src/ytdl_sub/prebuilt_presets/helpers/throttle_protection.yaml @@ -14,8 +14,15 @@ presets: ) } sleep_per_request_s: - min: 3.5 - max: 3.5 + # yt-dlp processes eath request synchronously, so it's intrinsic delay between + # requests already represent a maximum close to real app/client behavior in the + # field. Add a small additional margin matching the example values from yt-dlp + # to be conservative: + max: 0.75 + # Not used at time of writing, but choose a value that would mimic real + # app/client behavior in the field. The next request is usually sent right away + # if processing the previous request is done asynchronously: + min: 0.0 sleep_per_download_s: min: 13.8 max: 28.4 @@ -23,4 +30,4 @@ presets: min: 16.3 max: 26.1 overrides: - enable_throttle_protection: True \ No newline at end of file + enable_throttle_protection: True