From 083df744dbc98523ab9720427452d95c507f935e Mon Sep 17 00:00:00 2001 From: Alexander Solovyov <alexander@solovyov.net> Date: Tue, 23 Jul 2024 11:27:53 +0300 Subject: [PATCH] [cache] remove mentions of removed cache settings from docs (#45921) --- docs/configuring-metabase/environment-variables.md | 14 -------------- src/metabase/cmd/resources/other-env-vars.md | 14 -------------- 2 files changed, 28 deletions(-) diff --git a/docs/configuring-metabase/environment-variables.md b/docs/configuring-metabase/environment-variables.md index 969c441854e..d90446c03fc 100644 --- a/docs/configuring-metabase/environment-variables.md +++ b/docs/configuring-metabase/environment-variables.md @@ -1073,20 +1073,6 @@ Default: `8640000` The absolute maximum time to keep any cached query results, in seconds. The default value is 100 days in seconds. -### `MB_QUERY_CACHING_MIN_TTL` - -Type: integer<br> -Default: `60` - -Metabase will cache all saved questions with an average query execution time longer than this many seconds. - -### `MB_QUERY_CACHING_TTL_RATIO` - -Type: integer<br> -Default: `10` - -To determine how long each saved question's cached result should stick around, we take the query's average execution time and multiply that by whatever you input here. So if a query takes on average 2 minutes to run, and you input 10 for your multiplier, its cache entry will persist for 20 minutes. - ### `MB_REDIRECT_ALL_REQUESTS_TO_HTTPS` Type: boolean<br> diff --git a/src/metabase/cmd/resources/other-env-vars.md b/src/metabase/cmd/resources/other-env-vars.md index 171003df760..afc0d8103a5 100644 --- a/src/metabase/cmd/resources/other-env-vars.md +++ b/src/metabase/cmd/resources/other-env-vars.md @@ -423,20 +423,6 @@ Default: `"db"` Current cache backend. Dynamically rebindable primarily for test purposes. -### `MB_QUERY_CACHING_MIN_TTL` - -Type: integer<br> -Default: `60` - -Metabase will cache all saved questions with an average query execution time longer than this many seconds. - -### `MB_QUERY_CACHING_TTL_RATIO` - -Type: integer<br> -Default: `10` - -To determine how long each saved question's cached result should stick around, we take the query's average execution time and multiply that by whatever you input here. So if a query takes on average 2 minutes to run, and you input 10 for your multiplier, its cache entry will persist for 20 minutes. - ### `MB_SEARCH_TYPEAHEAD_ENABLED` Type: boolean<br> -- GitLab