Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jdufresne committed May 21, 2020
1 parent a98b1bf commit 3601dfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ UNRELEASED

- The project has moved to `Jazzband <https://jazzband.co/>`_. This is the
first release under the new organization. The new repository URL is
`<https://github.com/jazzband/django-taggit>`_.
`<https://github.com/jazzband/django-redis>`_.
- Removed support for end-of-life Django < 2.2.
- Removed support for unmaintained redis-py 2.X.

Expand Down
1 change: 1 addition & 0 deletions django_redis/client/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,7 @@ def make_pattern(self, pattern, version=None, prefix=None):
return CacheKey(self._backend.key_func(pattern, prefix, version))

def close(self, **kwargs):
print('closing')
if getattr(settings, "DJANGO_REDIS_CLOSE_CONNECTION", False):
for i in range(len(self._clients)):
for c in self._clients[i].connection_pool._available_connections:
Expand Down

0 comments on commit 3601dfb

Please sign in to comment.