From 7c8e4236510b2ab4265839cc942fc2129fc34758 Mon Sep 17 00:00:00 2001 From: tommerrett <50173333+tommerrett@users.noreply.github.com> Date: Mon, 10 May 2021 21:34:04 +0930 Subject: [PATCH] Update README.md with failed jobs configuration --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b86b292..5a8e177 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,17 @@ composer require stackkit/laravel-google-cloud-tasks-queue QUEUE_CONNECTION=cloudtasks ``` -(4) Create a new Cloud Tasks queue using `gcloud` +(4) [Laravel ^8.0 and above only] configure failed tasks to use the `database-uuids` driver in `config/queue.php` + +``` +'failed' => [ + 'database' => env('DB_CONNECTION', 'mysql'), + 'table' => 'failed_jobs', + 'driver' => 'database-uuids', +], +``` + +(5) Create a new Cloud Tasks queue using `gcloud` ````bash gcloud tasks queues create [QUEUE_ID] @@ -157,4 +167,4 @@ This package verifies that the token is digitally signed by Google. Only Google More information about OpenID Connect: -https://developers.google.com/identity/protocols/oauth2/openid-connect \ No newline at end of file +https://developers.google.com/identity/protocols/oauth2/openid-connect