Class: Workers::ReceivePublic

Inherits:
ReceiveBase show all
Defined in:
app/workers/receive_public.rb

Instance Method Summary collapse

Methods inherited from ReceiveBase

#filter_errors_for_retry

Instance Method Details

#perform(data, legacy = false) ⇒ Object


9
10
11
12
13
# File 'app/workers/receive_public.rb', line 9

def perform(data, legacy=false)
  filter_errors_for_retry do
    DiasporaFederation::Federation::Receiver.receive_public(data, legacy)
  end
end