mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Extract RefreshChannelsJob (#1403)
This commit is contained in:
parent
cce6db4aeb
commit
989317e5d3
3 changed files with 60 additions and 58 deletions
|
@ -159,7 +159,7 @@ end
|
|||
|
||||
# Start jobs
|
||||
|
||||
refresh_channels(PG_DB, logger, config)
|
||||
Invidious::Jobs.register Invidious::Jobs::RefreshChannelsJob.new(PG_DB, logger, config)
|
||||
refresh_feeds(PG_DB, logger, config)
|
||||
subscribe_to_feeds(PG_DB, logger, HMAC_KEY, config)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue