module Conversations::UnreadCounts
  READY_TTL = 24.hours.to_i
  SET_TTL = 25.hours.to_i
  FILTERED_COUNT_FRESH_TTL = 5.minutes.to_i
  FILTERED_COUNT_STALE_WINDOW = 30.minutes.to_i
  FILTERED_COUNT_REDIS_TTL = FILTERED_COUNT_FRESH_TTL + FILTERED_COUNT_STALE_WINDOW
  FILTERED_COUNT_VERSION_TTL = SET_TTL
  FILTERED_COUNT_MIN_REFRESH_INTERVAL = 30.seconds.to_i
  MAX_INLINE_FILTER_BUILDS = 10
end
