Skip to content
This repository was archived by the owner on Mar 9, 2024. It is now read-only.

Commit 1c0ed34

Browse files
committed
Update readme for table
Fixes #42
1 parent 8afba65 commit 1c0ed34

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

readme.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,17 @@ You need to create the migration table for queues and run it.
2323
$ php artisan queue:table
2424
$ php artisan migrate
2525

26-
You should now be able to use the async driver in config/queue.php
26+
You should now be able to use the async driver in config/queue.php. Use the same config as for the database, but use async as driver.
2727

2828
'default' => 'async',
2929

3030
'connections' => array(
3131
...
3232
'async' => array(
3333
'driver' => 'async',
34+
'table' => 'queue_jobs',
35+
'queue' => 'default',
36+
'expire' => 60,
3437
),
3538
...
3639
}
@@ -41,6 +44,9 @@ By default, `php` is used as the binary path to PHP. You can change this by addi
4144
...
4245
'async' => array(
4346
'driver' => 'async',
47+
'table' => 'queue_jobs',
48+
'queue' => 'default',
49+
'expire' => 60,
4450
'binary' => 'php',
4551
'binary_args' => '',
4652
),

0 commit comments

Comments
 (0)