Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

742 B
Raw Blame
(ns metabase-enterprise.cache.config
  (:require
   [metabase.premium-features.core :refer [defenterprise]]))

(defenterprise refreshable-states
  "States of `persisted_info` records which can be refreshed."
  :feature :cache-granular-controls
  []
  ;; meant to be the same as the oss version except that "off" is deletable rather than refreshable
  #{"refreshing" "creating" "persisted" "error"})

(defenterprise prunable-states
  "States of `persisted_info` records which can be pruned."
  :feature :cache-granular-controls
  []
  #{"deletable" "off"})

(defenterprise default-persistent-info-state
  "EE Version doesn't auto-persist models like the OSS version does. So default to 'off'"
  :feature :cache-granular-controls
  []
  "off")