Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
c3102642
Commit
c3102642
authored
May 16, 2019
by
kaniini
Browse files
publisher: use the correct queue name for outgoing federation
parent
62516be9
Pipeline
#11890
passed with stages
in 8 minutes and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/pleroma/web/federator/publisher.ex
View file @
c3102642
...
@@ -31,7 +31,7 @@ defmodule Pleroma.Web.Federator.Publisher do
...
@@ -31,7 +31,7 @@ defmodule Pleroma.Web.Federator.Publisher do
"""
"""
@spec
enqueue_one
(
module
(),
Map
.
t
())
::
:ok
@spec
enqueue_one
(
module
(),
Map
.
t
())
::
:ok
def
enqueue_one
(
module
,
%{}
=
params
),
def
enqueue_one
(
module
,
%{}
=
params
),
do
:
PleromaJobQueue
.
enqueue
(
:federat
ion
_outgoing
,
__MODULE__
,
[
:publish_one
,
module
,
params
])
do
:
PleromaJobQueue
.
enqueue
(
:federat
or
_outgoing
,
__MODULE__
,
[
:publish_one
,
module
,
params
])
@spec
perform
(
atom
(),
module
(),
any
())
::
{
:ok
,
any
()}
|
{
:error
,
any
()}
@spec
perform
(
atom
(),
module
(),
any
())
::
{
:ok
,
any
()}
|
{
:error
,
any
()}
def
perform
(
:publish_one
,
module
,
params
)
do
def
perform
(
:publish_one
,
module
,
params
)
do
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment