Remove 'crawl_threads', fix sleep in fibers

This commit is contained in:
Omar Roth
2019-03-25 09:23:42 -05:00
parent a3b767bb13
commit 591a6b330a
4 changed files with 12 additions and 109 deletions

View File

@@ -1,7 +1,5 @@
class Config
YAML.mapping({
video_threads: Int32, # Number of threads to use for updating videos in cache (mostly non-functional)
crawl_threads: Int32, # Number of threads to use for finding new videos from YouTube (used to populate "top" page)
channel_threads: Int32, # Number of threads to use for crawling videos from channels (for updating subscriptions)
feed_threads: Int32, # Number of threads to use for updating feeds
db: NamedTuple( # Database configuration