message: Throttle saving reviews to indexedDB
diff: @@ -208,7 +208,8 @@ function convertToRatingMap(ratings: DtrRating[]) {
  export function saveReviewsToIndexedDB() {
  return observeStore(
  (state) => state.reviews,
  - (currentState, nextState) => {
  + _.throttle(
  + (currentState: ReviewsState, nextState: ReviewsState) => {
  if (nextState.loadedFromIDB) {
  const cutoff = new Date(Date.now() - ITEM_RATING_EXPIRATION);
  @@ -219,7 +220,10 @@ export function saveReviewsToIndexedDB() {
  set('ratings-v2', _.pickBy(nextState.ratings, (r) => r.lastUpdated > cutoff));
  }
  }
  - }
  + },
  + 1000,
  + { leading: true, trailing: true }
  + )
  );
  }
  