Skip to content

Commit

Permalink
Update WorkerController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
fylzero committed Apr 2, 2024
1 parent 496976e commit bfcc08f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Controllers/WorkerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ public function schedule(Container $laravel, Kernel $kernel, Schedule $schedule,
$command = $request->headers->get('X-Aws-Sqsd-Taskname', $this::LARAVEL_SCHEDULE_COMMAND);
if ($command != $this::LARAVEL_SCHEDULE_COMMAND) return $this->runSpecificCommand($kernel, $request->headers->get('X-Aws-Sqsd-Taskname'));

$kernel->bootstrap();

$events = $schedule->dueEvents($laravel);
$eventsRan = 0;
$messages = [];
Expand Down

0 comments on commit bfcc08f

Please sign in to comment.