Add link to github project to footer, move FanOutOnWriteService calls to
DistributionWorker. That isn't the heaviest service, yet, but gotta start somewhere
This commit is contained in:
parent
42dcb0d4cb
commit
8eeec389c1
5 changed files with 29 additions and 7 deletions
|
@ -38,7 +38,7 @@ class ProcessFeedService < BaseService
|
|||
# If we added a status, go through accounts it mentions and create respective relations
|
||||
unless status.new_record?
|
||||
record_remote_mentions(status, entry.xpath('./xmlns:link[@rel="mentioned"]'))
|
||||
fan_out_on_write_service.(status)
|
||||
DistributionWorker.perform_async(status.id)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue