Lint description of channel_refresh_time

This commit is contained in:
Féry Mathieu (Mathius) 2022-02-21 11:13:24 +01:00
parent f75a81c9ee
commit 18197e7e3e
No known key found for this signature in database
GPG key ID: F9CCC80C18A59037
2 changed files with 2 additions and 2 deletions

View file

@ -315,7 +315,7 @@ https_only: false
channel_threads: 1 channel_threads: 1
## ##
## Time between channel_refresh ## Time between two jobs for crawling videos from channels
## ##
## Accepted values: a valid time interval (hours:min:seconds) ## Accepted values: a valid time interval (hours:min:seconds)
## Default: 00:30:00 ## Default: 00:30:00

View file

@ -58,7 +58,7 @@ class Config
property channel_threads : Int32 = 1 # Number of threads to use for crawling videos from channels (for updating subscriptions) property channel_threads : Int32 = 1 # Number of threads to use for crawling videos from channels (for updating subscriptions)
@[YAML::Field(converter: TimeSpanConverter)] @[YAML::Field(converter: TimeSpanConverter)]
property channel_refresh_time : Time::Span = 30.minutes # Time between channel_refresh property channel_refresh_time : Time::Span = 30.minutes # Time between two jobs for crawling videos from channels
property feed_threads : Int32 = 1 # Number of threads to use for updating feeds property feed_threads : Int32 = 1 # Number of threads to use for updating feeds
property output : String = "STDOUT" # Log file path or STDOUT property output : String = "STDOUT" # Log file path or STDOUT
property log_level : LogLevel = LogLevel::Info # Default log level, valid YAML values are ints and strings, see src/invidious/helpers/logger.cr property log_level : LogLevel = LogLevel::Info # Default log level, valid YAML values are ints and strings, see src/invidious/helpers/logger.cr