PLT-7639: Batch delete methods for data retention. (#7444)
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
2628022275
Коммит
8195c80aa1
@@ -199,3 +199,9 @@ func (s *LayeredReactionStore) DeleteAllWithEmojiName(emojiName string) StoreCha
|
||||
return supplier.ReactionDeleteAllWithEmojiName(s.TmpContext, emojiName)
|
||||
})
|
||||
}
|
||||
|
||||
func (s *LayeredReactionStore) PermanentDeleteBatch(endTime int64, limit int64) StoreChannel {
|
||||
return s.RunQuery(func(supplier LayeredStoreSupplier) *LayeredStoreSupplierResult {
|
||||
return supplier.ReactionPermanentDeleteBatch(s.TmpContext, endTime, limit)
|
||||
})
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user