You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 9, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: readme.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
## Push a function/closure to the background.
4
4
5
5
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)
7
7
8
8
Just like the 'sync' driver, this is not a real queue driver. It is always fired immediatly.
9
9
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.
28
28
29
29
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.
30
30
31
-
'default' => 'async',
32
-
33
31
'connections' => array(
34
32
...
35
33
'async' => array(
@@ -41,7 +39,9 @@ You should now be able to use the async driver in config/queue.php. Use the same
41
39
...
42
40
}
43
41
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)
0 commit comments