mirror of
https://github.com/iv-org/invidious.git
synced 2025-11-04 22:51:58 +00:00
Add table cleaning job (#3294)
This commit is contained in:
@@ -172,6 +172,8 @@ end
|
||||
CONNECTION_CHANNEL = Channel({Bool, Channel(PQ::Notification)}).new(32)
|
||||
Invidious::Jobs.register Invidious::Jobs::NotificationJob.new(CONNECTION_CHANNEL, CONFIG.database_url)
|
||||
|
||||
Invidious::Jobs.register Invidious::Jobs::ClearExpiredItemsJob.new
|
||||
|
||||
Invidious::Jobs.start_all
|
||||
|
||||
def popular_videos
|
||||
|
||||
Reference in New Issue
Block a user