From 71b01ba1b6e81550001d26832e0028002f61c42b Mon Sep 17 00:00:00 2001 From: Ryan Febriansyah <37971350+sodrooome@users.noreply.github.com> Date: Tue, 25 Feb 2020 07:04:59 +0700 Subject: [PATCH] fix code tag in connections.md (#1189) * Update connections.md * Update testing.md --- docs/docs/connections.md | 2 +- docs/docs/testing.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/connections.md b/docs/docs/connections.md index 0e55147..7e87b3a 100644 --- a/docs/docs/connections.md +++ b/docs/docs/connections.md @@ -16,7 +16,7 @@ pass in Redis connection references to queues directly. Note:

The use of use_connection is deprecated. - Please don't use `use_connection` in your scripts. + Please don't use use_connection in your scripts. Instead, use explicit connection management.

diff --git a/docs/docs/testing.md b/docs/docs/testing.md index 1bc0320..879e319 100644 --- a/docs/docs/testing.md +++ b/docs/docs/testing.md @@ -27,7 +27,7 @@ Another solution for testing purposes is to use the `is_async=False` queue parameter, that instructs it to instantly perform the job in the same thread instead of dispatching it to the workers. Workers are not required anymore. -Additionally, we can use fakeredis to mock a redis instance, so we don't have to +Additionally, we can use fake redis to mock a redis instance, so we don't have to run a redis server separately. The instance of the fake redis server can be directly passed as the connection argument to the queue: