Skip to content

Commit 356b3ad

Browse files
committed
fix job status processor
1 parent 516acfa commit 356b3ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/job-queue/JobProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ protected function saveJob(Job $job)
260260
*/
261261
protected function sendCalculateRootJobStatusEvent(Job $job)
262262
{
263-
$this->producer->sendEvent(Commands::CALCULATE_ROOT_JOB_STATUS, [
263+
$this->producer->sendCommand(Commands::CALCULATE_ROOT_JOB_STATUS, [
264264
'jobId' => $job->getId(),
265265
]);
266266
}

0 commit comments

Comments
 (0)