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

Commit fe6941b

Browse files
authored
Update readme.md
1 parent 4c0b9cc commit fe6941b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: readme.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Push a function/closure to the background.
44

55

6-
### For Laravel 5.3, check the [0.5 branch](https://github.com/barryvdh/laravel-async-queue/tree/0.4)
6+
### For Laravel 5.3, check the [0.5 branch](https://github.com/barryvdh/laravel-async-queue/tree/0.5)
77

88
Just like the 'sync' driver, this is not a real queue driver. It is always fired immediatly.
99
The only difference is that the closure is sent to the background without waiting for the response.
@@ -28,8 +28,6 @@ You need to create the migration table for queues and run it.
2828

2929
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.
3030

31-
'default' => 'async',
32-
3331
'connections' => array(
3432
...
3533
'async' => array(
@@ -41,7 +39,9 @@ You should now be able to use the async driver in config/queue.php. Use the same
4139
...
4240
}
4341

44-
By default, `php` is used as the binary path to PHP. You can change this by adding the `binary` option to the queue config. You can also add extra arguments (for HHVM for example)
42+
Set the default to `async`, either by changing to config or setting `QUEUE_DRIVER` in your `.env` file to `async`.
43+
44+
> Note: By default, `php` is used as the binary path to PHP. You can change this by adding the `binary` option to the queue config. You can also add extra arguments (for HHVM for example)
4545
4646
'connections' => array(
4747
...

0 commit comments

Comments
 (0)