Skip to content
Snippets Groups Projects
Unverified Commit c7405fda authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Fix missing column in select in mastodon:feeds:build task (#7720)

parent e18390cf
Branches
Tags
No related merge requests found
......@@ -561,7 +561,7 @@ namespace :mastodon do
desc 'Generates home timelines for users who logged in in the past two weeks'
task build: :environment do
User.active.select(:account_id).find_in_batches do |users|
User.active.select(:id, :account_id).find_in_batches do |users|
RegenerationWorker.push_bulk(users.map(&:account_id))
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment