0
0
Fork 0

Distrubute statuses as a fan-out-on-write system, with optional precomputing

This commit is contained in:
Eugen Rochko 2016-03-08 20:16:11 +01:00
parent fe57f6330f
commit 6c4c84b161
9 changed files with 119 additions and 3 deletions

View file

@ -67,5 +67,6 @@ class Status < ActiveRecord::Base
after_create do
self.account.stream_entries.create!(activity: self)
FanOutOnWriteService.new.(self)
end
end