Remove queued_at value from pubsub payloads (#26173)
This commit is contained in:
parent
12a6cf569e
commit
317cd26fba
3 changed files with 3 additions and 4 deletions
|
@ -9,7 +9,7 @@ class PushConversationWorker
|
|||
message = InlineRenderer.render(conversation, conversation.account, :conversation)
|
||||
timeline_id = "timeline:direct:#{conversation.account_id}"
|
||||
|
||||
redis.publish(timeline_id, Oj.dump(event: :conversation, payload: message, queued_at: (Time.now.to_f * 1000.0).to_i))
|
||||
redis.publish(timeline_id, Oj.dump(event: :conversation, payload: message))
|
||||
rescue ActiveRecord::RecordNotFound
|
||||
true
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue