Distrubute statuses as a fan-out-on-write system, with optional precomputing
This commit is contained in:
parent
fe57f6330f
commit
6c4c84b161
9 changed files with 119 additions and 3 deletions
|
@ -67,5 +67,6 @@ class Status < ActiveRecord::Base
|
|||
|
||||
after_create do
|
||||
self.account.stream_entries.create!(activity: self)
|
||||
FanOutOnWriteService.new.(self)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue