Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Backend - Engine
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
134
Issues
134
List
Boards
Labels
Service Desk
Milestones
Merge Requests
28
Merge Requests
28
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Backend - Engine
Commits
88975f5c
Commit
88975f5c
authored
37 minutes ago
by
Emiliano Balbuena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(fix): Queue name
parent
72617883
epic/ReportingAndModeration
1 merge request
!100
Epic/reporting and moderation
Pipeline
#62414344
passed with stages
in 5 minutes and 14 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
ReportsAppealSummon.php
Core/Queue/Runners/ReportsAppealSummon.php
+1
-1
SummonDelegate.php
Core/Reports/Appeals/Delegates/SummonDelegate.php
+1
-1
Manager.php
Core/Reports/Summons/Manager.php
+1
-1
SummonDelegateSpec.php
Spec/Core/Reports/Appeals/Delegates/SummonDelegateSpec.php
+1
-1
No files found.
Core/Queue/Runners/ReportsAppealSummon.php
View file @
88975f5c
...
...
@@ -28,7 +28,7 @@ class ReportsAppealSummon implements QueueRunner
$client
=
Client
::
build
();
$client
->
setQueue
(
static
::
class
)
->
setQueue
(
'ReportsAppealSummon'
)
->
receive
(
function
(
Message
$data
)
{
$params
=
$data
->
getData
();
...
...
This diff is collapsed.
Click to expand it.
Core/Reports/Appeals/Delegates/SummonDelegate.php
View file @
88975f5c
...
...
@@ -27,7 +27,7 @@ class SummonDelegate
public
function
onAppeal
(
Appeal
$appeal
)
{
$this
->
queue
->
setQueue
(
ReportsAppealSummon
::
class
)
->
setQueue
(
'ReportsAppealSummon'
)
->
send
([
'appeal'
=>
$appeal
,
'cohort'
=>
null
,
// TODO: It can be an array of user guids. For development purposes only.
...
...
This diff is collapsed.
Click to expand it.
Core/Reports/Summons/Manager.php
View file @
88975f5c
...
...
@@ -205,7 +205,7 @@ class Manager
public
function
defer
(
Appeal
$appeal
)
{
$this
->
queueClient
->
setQueue
(
ReportsAppealSummon
::
class
)
->
setQueue
(
'ReportsAppealSummon'
)
->
send
([
'appeal'
=>
$appeal
,
],
600
);
...
...
This diff is collapsed.
Click to expand it.
Spec/Core/Reports/Appeals/Delegates/SummonDelegateSpec.php
View file @
88975f5c
...
...
@@ -29,7 +29,7 @@ class SummonDelegateSpec extends ObjectBehavior
function
it_should_queue_on_appeal
(
Appeal
$appeal
)
{
$this
->
queue
->
setQueue
(
ReportsAppealSummon
::
class
)
$this
->
queue
->
setQueue
(
'ReportsAppealSummon'
)
->
shouldBeCalled
()
->
willReturn
(
$this
->
queue
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
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