commit 28b87e27f10221e6d4bc0afa49c1cce8edbf8cdd Author: smarcet Date: Tue Oct 6 10:51:20 2020 -0300 Added redis config for queues Change-Id: Id7d3f2c83e5cee2107a585b255a70b0e1977444d Signed-off-by: smarcet diff --git a/config/queue.php b/config/queue.php index 0727741..3665115 100644 --- a/config/queue.php +++ b/config/queue.php @@ -30,7 +30,7 @@ return [ */ 'connections' => [ - + // db 'database' => [ 'connection' => env('QUEUE_CONN', ''), 'database' => env('QUEUE_DATABASE', ''), @@ -39,6 +39,14 @@ return [ 'queue' => 'default', 'expire' => 60, ], + // redis + 'redis' => [ + 'driver' => 'redis', + 'connection' => 'default', + 'queue' => 'default', + 'expire' => 60, + 'block_for' => 5, + ], // ... 'message_broker' => [