Skip to content

Commit

Permalink
Merge pull request #67 from tonycosentini/patch-1
Browse files Browse the repository at this point in the history
Fix storage options support for memcache cluster libraries.
  • Loading branch information
alisaifee committed Dec 15, 2021
1 parent b692b7c commit ac2e3ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion limits/storage/memcached.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __init__(self, uri, **options):
self.hosts = [parsed.path]

self.library = options.pop("library", "pymemcache.client")
self.cluster_library = options.pop("library", "pymemcache.client.hash")
self.cluster_library = options.pop("cluster_library", "pymemcache.client.hash")
self.client_getter = options.pop("client_getter", self.get_client)
self.options = options

Expand Down

0 comments on commit ac2e3ea

Please sign in to comment.