mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-26 22:36:21 +01:00
Fix missing column in select in mastodon:feeds:build task (#7720)
This commit is contained in:
parent
e18390cfe6
commit
c7405fda11
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user