add a job queue
This commit is contained in:
parent
6383fa3a5d
commit
55affbca7f
15 changed files with 358 additions and 142 deletions
|
|
@ -82,7 +82,7 @@ defmodule Pleroma.Web.OStatus.OStatusController do
|
|||
{:ok, body, _conn} = read_body(conn)
|
||||
{:ok, doc} = decode_or_retry(body)
|
||||
|
||||
Federator.enqueue(:incoming_doc, doc)
|
||||
Federator.incoming_doc(doc)
|
||||
|
||||
conn
|
||||
|> send_resp(200, "")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue