From 3d71c0b26932cea8f3ee85e036b802ad457f7cf8 Mon Sep 17 00:00:00 2001 From: Umer Salman Date: Mon, 31 Oct 2022 11:29:02 -0500 Subject: [PATCH 1/3] Fix typo (overriden --> overridden) --- docs/en/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/index.rst b/docs/en/index.rst index 0387c25..8de31ed 100644 --- a/docs/en/index.rst +++ b/docs/en/index.rst @@ -44,7 +44,7 @@ The following configuration should be present in the config array of your **conf 'url' => 'redis:', // The queue that will be used for sending messages. default: default - // This can be overriden when queuing or processing messages + // This can be overridden when queuing or processing messages 'queue' => 'default', // The name of a configured logger, default: null From de9f203c25a57d5d8c75ebcb1160a95cf8c6c301 Mon Sep 17 00:00:00 2001 From: Umer Salman Date: Mon, 31 Oct 2022 11:38:17 -0500 Subject: [PATCH 2/3] Clarify DSN/update example Fix confusing language for thinking 'url' only contains the protocol, not the full DSN, through a more extensive example. --- docs/en/index.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/en/index.rst b/docs/en/index.rst index 8de31ed..23925b4 100644 --- a/docs/en/index.rst +++ b/docs/en/index.rst @@ -41,7 +41,8 @@ The following configuration should be present in the config array of your **conf 'Queue' => [ 'default' => [ // A DSN for your configured backend. default: null - 'url' => 'redis:', + // Can contain protocol/port/username/password or be null if the backend defaults to localhost + 'url' => 'redis+phpredis://example.com:1000', // The queue that will be used for sending messages. default: default // This can be overridden when queuing or processing messages From 1e2733c07aae422911bc96436676036943138af0 Mon Sep 17 00:00:00 2001 From: Umer Salman Date: Mon, 31 Oct 2022 13:50:51 -0500 Subject: [PATCH 3/3] Update example with a full DSN --- docs/en/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/index.rst b/docs/en/index.rst index 23925b4..40f088e 100644 --- a/docs/en/index.rst +++ b/docs/en/index.rst @@ -42,7 +42,7 @@ The following configuration should be present in the config array of your **conf 'default' => [ // A DSN for your configured backend. default: null // Can contain protocol/port/username/password or be null if the backend defaults to localhost - 'url' => 'redis+phpredis://example.com:1000', + 'url' => 'redis://myusername:mypassword@example.com:1000', // The queue that will be used for sending messages. default: default // This can be overridden when queuing or processing messages