mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
redisindexsource: clear member_key_type if invalid (not hash or set)
This commit is contained in:
parent
52ca95eba5
commit
cd304cc2d7
@ -315,6 +315,10 @@ class RedisIndexSource(BaseIndexSource):
|
||||
elif self.member_key_type == b'hash':
|
||||
return self.redis.hvals(key)
|
||||
|
||||
# don't cache if any other type
|
||||
else:
|
||||
self.member_key_type = None
|
||||
|
||||
return []
|
||||
|
||||
def load_index(self, params):
|
||||
|
Loading…
x
Reference in New Issue
Block a user