PLT-7639: Batch delete methods for data retention. (#7444)

Этот коммит содержится в:
George Goldberg
2017-09-15 17:35:55 +01:00
коммит произвёл Christopher Speller
родитель 2628022275
Коммит 8195c80aa1
14 изменённых файлов: 332 добавлений и 0 удалений

Просмотреть файл

@@ -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)
})
}