From 79aca68c0849927216d72cef3052033e2abf522c Mon Sep 17 00:00:00 2001 From: diogo Date: Mon, 19 Jul 2021 12:06:34 +0300 Subject: [PATCH] increase max_lookback to 100 --- config/config.example.yml | 4 ++-- src/invidious/helpers/helpers.cr | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/config.example.yml b/config/config.example.yml index d5e16275..b80fafc4 100644 --- a/config/config.example.yml +++ b/config/config.example.yml @@ -243,9 +243,9 @@ https_only: false ## Maximum videos to be loaded into the playlist before the video playing ## ## Accepted values: a positive integer -## Default: 50 +## Default: 100 ## -max_lookback: 50 +max_lookback: 100 # ----------------------------- # Users and accounts diff --git a/src/invidious/helpers/helpers.cr b/src/invidious/helpers/helpers.cr index 976d9a5d..ced1f9d4 100644 --- a/src/invidious/helpers/helpers.cr +++ b/src/invidious/helpers/helpers.cr @@ -96,7 +96,7 @@ class Config property banner : String? = nil # Optional banner to be displayed along top of page for announcements, etc. property hsts : Bool? = true # Enables 'Strict-Transport-Security'. Ensure that `domain` and all subdomains are served securely property disable_proxy : Bool? | Array(String)? = false # Disable proxying server-wide: options: 'dash', 'livestreams', 'downloads', 'local' - property max_lookback : Int32 = 50 # Maximum videos to be loaded into the playlist before the video playing + property max_lookback : Int32 = 100 # Maximum videos to be loaded into the playlist before the video playing @[YAML::Field(converter: Preferences::FamilyConverter)] property force_resolve : Socket::Family = Socket::Family::UNSPEC # Connect to YouTube over 'ipv6', 'ipv4'. Will sometimes resolve fix issues with rate-limiting (see https://github.com/ytdl-org/youtube-dl/issues/21729)