diff options
author | Doug <douglaslong11@gmail.com> | 2020-03-18 14:34:19 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-18 13:34:19 -0700 |
commit | 51c76dae2c3c96ecaac0f2abd522fd344b0b2482 (patch) | |
tree | 861a20363e34292473099e47a988df96a5a938f8 /pymemcache/client | |
parent | 86fc415d8383c7dbf7bd3442ab9d7d3e36a874d3 (diff) | |
download | pymemcache-51c76dae2c3c96ecaac0f2abd522fd344b0b2482.tar.gz |
HashClient pass encoding servers (#271)
pass the encoding from the hashed client to the pooled client when use_pooling is True.
Diffstat (limited to 'pymemcache/client')
-rw-r--r-- | pymemcache/client/hash.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pymemcache/client/hash.py b/pymemcache/client/hash.py index 531d4c2..d8271ae 100644 --- a/pymemcache/client/hash.py +++ b/pymemcache/client/hash.py @@ -87,6 +87,7 @@ class HashClient(object): 'deserializer': deserializer, 'allow_unicode_keys': allow_unicode_keys, 'default_noreply': default_noreply, + 'encoding': encoding } if use_pooling is True: |