Invidious is an alternative front-end to YouTube
Lint config.example.yml and config.cr
Féry Mathieu (Mathius)e60a1836fe07
diff --git a/config/config.example.yml b/config/config.example.ymlindex a6440e3d..866e8944 100644--- a/config/config.example.yml+++ b/config/config.example.yml@@ -315,12 +315,13 @@ https_only: falsechannel_threads: 1##-## Time between two jobs for crawling videos from channels+## Time interval between two executions of the job that crawls+## channel videos (subscriptions update).##-## Accepted values: a valid time interval (like 1h30m or 90min)+## Accepted values: a valid time interval (like 1h30m or 90m)## Default: 30m##-channel_refresh_interval: 30min+#channel_refresh_interval: 30m#### Forcefully dump and re-download the entire list of uploadeddiff --git a/src/invidious/config.cr b/src/invidious/config.crindex cf705d21..bebb9ae5 100644--- a/src/invidious/config.cr+++ b/src/invidious/config.cr@@ -58,7 +58,7 @@ class Config# Number of threads to use for crawling videos from channels (for updating subscriptions)property channel_threads : Int32 = 1- # Time between two jobs for crawling videos from channels+ # Time interval between two executions of the job that crawls channel videos (subscriptions update).@[YAML::Field(converter: Preferences::TimeSpanConverter)]property channel_refresh_interval : Time::Span = 30.minutes# Number of threads to use for updating feeds