Skip to content

Commit

Permalink
Replace python-memcached with pymemcache
Browse files Browse the repository at this point in the history
  • Loading branch information
asherf committed Nov 7, 2021
1 parent 1ebed3d commit 9743ffa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion django_prometheus/cache/backends/memcached.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
)


class MemcachedCache(memcached.MemcachedCache):
class MemcachedCache(memcached.PyMemcacheCache):
"""Inherit memcached to add metrics about hit/miss ratio"""

def get(self, key, default=None, version=None):
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ mysqlclient
psycopg2
pytest==6.2.5
pytest-django
python-memcached
pymemcache

0 comments on commit 9743ffa

Please sign in to comment.