Merge remote-tracking branch 'tootsuite/master' into merge-upstream

Conflicts:
 	app/models/status.rb

The conflict in the Status model was due to
5bf5003384.
It was resolved by accepting tootsuite's changes.
This commit is contained in:
David Yip
2018-06-07 05:13:49 -05:00
75 changed files with 436 additions and 208 deletions

View File

@@ -21,7 +21,7 @@ module Mastodon
end
def flags
'rc1'
'rc3'
end
def to_a

View File

@@ -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