Move TimeSpanConverter with another Converters

Follow indications :
https://github.com/iv-org/invidious/pull/2915#discussion_r811373953
This commit is contained in:
Féry Mathieu (Mathius)
2022-02-22 01:34:19 +01:00
parent 5d2f2690e2
commit f109d812a1
3 changed files with 16 additions and 16 deletions

View File

@@ -59,7 +59,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
@[YAML::Field(converter: TimeSpanConverter)]
@[YAML::Field(converter: Preferences::TimeSpanConverter)]
property channel_refresh_interval : Time::Span = 30.minutes
# Number of threads to use for updating feeds
property feed_threads : Int32 = 1