Skip to content

Commit

Permalink
Add force command to avoid STDIN undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartcusackie authored Aug 29, 2022
1 parent 90a088b commit 0563d81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Http/Controllers/GlideRequesterController.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ public function show(Request $request)
*/
public function run(Request $request)
{
Artisan::call('queue:clear', ['connection' => 'redis', '--queue' => 'gliderequester']);
Artisan::call('queue:clear', ['connection' => 'redis', '--queue' => 'gliderequester', '--force' => true]);
Artisan::queue('glide:request')->onConnection('redis')->onQueue('gliderequester');

return back();
}
}
}

0 comments on commit 0563d81

Please sign in to comment.