From 8195c80aa12136838ff4491fac989e0b946382b1 Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Fri, 15 Sep 2017 17:35:55 +0100 Subject: PLT-7639: Batch delete methods for data retention. (#7444) --- store/redis_supplier.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'store/redis_supplier.go') diff --git a/store/redis_supplier.go b/store/redis_supplier.go index 195d2c496..167bafd6f 100644 --- a/store/redis_supplier.go +++ b/store/redis_supplier.go @@ -131,3 +131,8 @@ func (s *RedisSupplier) ReactionDeleteAllWithEmojiName(ctx context.Context, emoj // Ignoring this. It's probably OK to have the emoji slowly expire from Redis. return s.Next().ReactionDeleteAllWithEmojiName(ctx, emojiName, hints...) } + +func (s *RedisSupplier) ReactionPermanentDeleteBatch(ctx context.Context, endTime int64, limit int64, hints ...LayeredStoreHint) *LayeredStoreSupplierResult { + // Ignoring this. It's probably OK to have the emoji slowly expire from Redis. + return s.Next().ReactionPermanentDeleteBatch(ctx, endTime, limit, hints...) +} -- cgit v1.2.3-1-g7c22