Skip to content

Commit e60a183

Browse files
committed
Lint config.example.yml and config.cr
Follow lint indications : - #2915 (comment) - #2915 (comment)
1 parent 555bb71 commit e60a183

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

config/config.example.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,12 +315,13 @@ https_only: false
315315
channel_threads: 1
316316

317317
##
318-
## Time between two jobs for crawling videos from channels
318+
## Time interval between two executions of the job that crawls
319+
## channel videos (subscriptions update).
319320
##
320-
## Accepted values: a valid time interval (like 1h30m or 90min)
321+
## Accepted values: a valid time interval (like 1h30m or 90m)
321322
## Default: 30m
322323
##
323-
channel_refresh_interval: 30min
324+
#channel_refresh_interval: 30m
324325

325326
##
326327
## Forcefully dump and re-download the entire list of uploaded

src/invidious/config.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class Config
5858

5959
# Number of threads to use for crawling videos from channels (for updating subscriptions)
6060
property channel_threads : Int32 = 1
61-
# Time between two jobs for crawling videos from channels
61+
# Time interval between two executions of the job that crawls channel videos (subscriptions update).
6262
@[YAML::Field(converter: Preferences::TimeSpanConverter)]
6363
property channel_refresh_interval : Time::Span = 30.minutes
6464
# Number of threads to use for updating feeds

0 commit comments

Comments
 (0)