Distrubute statuses as a fan-out-on-write system, with optional precomputing
This commit is contained in:
@ -67,5 +67,6 @@ class Status < ActiveRecord::Base
|
||||
|
||||
after_create do
|
||||
self.account.stream_entries.create!(activity: self)
|
||||
FanOutOnWriteService.new.(self)
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user