diff --git a/config/queue.php b/config/queue.php index 15e57da..1b8f603 100644 --- a/config/queue.php +++ b/config/queue.php @@ -47,6 +47,14 @@ "database" => [ "queue" => "default", "table" => "queues", - ] + ], + + /** + * The redis connexion + */ + "redis" => [ + "queue" => "default", + "block_timeout" => 5, + ], ] ]; diff --git a/routes/console.php b/routes/console.php index 26dff23..86b0146 100644 --- a/routes/console.php +++ b/routes/console.php @@ -2,11 +2,8 @@ use Bow\Console\Color; use Bow\Console\Argument; -use App\Commands\TestCommand; $console->addCommand('hello', function (Argument $argument) { $index = route('app.index'); echo Color::green("hello, bow task runner."); }); - -$console->addCommand('test:hello', TestCommand::class);