mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-10-31 22:19:00 +00:00
Removes delete redis action
This commit is contained in:
parent
be044bce0d
commit
19acfeeb72
1 changed files with 0 additions and 4 deletions
|
@ -65,10 +65,6 @@ class RedisStore(ABC):
|
|||
pipeline = r.pipeline()
|
||||
queryset = self.get_objects_for_store(store)
|
||||
|
||||
# first, remove everything currently in it
|
||||
pipeline.delete(store)
|
||||
|
||||
# now, add everything back
|
||||
for obj in queryset[: self.max_length]:
|
||||
pipeline.zadd(store, self.get_value(obj))
|
||||
|
||||
|
|
Loading…
Reference in a new issue