TEST Removing all streaming for now 2

TEST

• Removing:
- all streaming for now 2 (from server side)
This commit is contained in:
mgabdev
2021-01-15 20:42:04 -05:00
parent 8313f4b11d
commit 574b45e04b
5 changed files with 10 additions and 10 deletions

View File

@@ -180,8 +180,8 @@ class FetchLinkCardService < BaseService
end
def send_status_update_payload(status)
@payload = InlineRenderer.render(status, nil, :status)
@payload = Oj.dump(event: :update, payload: @payload)
Redis.current.publish("statuscard:#{status.account_id}", @payload)
# @payload = InlineRenderer.render(status, nil, :status)
# @payload = Oj.dump(event: :update, payload: @payload)
# Redis.current.publish("statuscard:#{status.account_id}", @payload)
end
end