diff options
| author | Féry Mathieu (Mathius) <ferymathieuy@gmail.com> | 2022-02-21 11:13:24 +0100 |
|---|---|---|
| committer | Féry Mathieu (Mathius) <ferymathieuy@gmail.com> | 2022-02-21 11:13:24 +0100 |
| commit | 18197e7e3eca53176e71b1dfe82dd2de85df175c (patch) | |
| tree | aae4a9d56cb14ec2da251c607d3a95a1a4077bb9 | |
| parent | f75a81c9eeb792c0b99075bc47a1243a23b8700b (diff) | |
| download | invidious-18197e7e3eca53176e71b1dfe82dd2de85df175c.tar.gz invidious-18197e7e3eca53176e71b1dfe82dd2de85df175c.tar.bz2 invidious-18197e7e3eca53176e71b1dfe82dd2de85df175c.zip | |
Lint description of channel_refresh_time
| -rw-r--r-- | config/config.example.yml | 2 | ||||
| -rw-r--r-- | src/invidious/config.cr | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config/config.example.yml b/config/config.example.yml index 475f2703..5d4cea28 100644 --- a/config/config.example.yml +++ b/config/config.example.yml @@ -315,7 +315,7 @@ https_only: false 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) ## Default: 00:30:00 diff --git a/src/invidious/config.cr b/src/invidious/config.cr index 150f8064..9ffd2cd8 100644 --- a/src/invidious/config.cr +++ b/src/invidious/config.cr @@ -58,7 +58,7 @@ class Config property channel_threads : Int32 = 1 # Number of threads to use for crawling videos from channels (for updating subscriptions) @[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 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 |
