mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2026-02-03 20:47:03 +00:00
Fix Performance/ChainedCallWithNoBang issues
This commit is contained in:
@@ -16,7 +16,7 @@ class Invidious::Jobs::PullPopularVideosJob < Invidious::Jobs::BaseJob
|
||||
loop do
|
||||
videos = db.query_all(QUERY, as: ChannelVideo)
|
||||
.sort_by(&.published)
|
||||
.reverse
|
||||
.reverse!
|
||||
|
||||
POPULAR_VIDEOS.set(videos)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user