mirror of
https://github.com/apache/superset.git
synced 2026-05-11 02:45:46 +00:00
chore(cache): default to SimpleCache in debug mode (#18976)
* chore(cache): default to SimpleCache in debug mode
* lint
* clean up type
* use util
* fix integration test cache configs
* remove util from cache manager
* remove trailing comma
* fix more tests
* fix truthiness check
* fix tests and improve deprecation notice
* fix default cache threshold
* move debug check to cache_manager
* remove separate getter
* update docs
* remove default cache config
(cherry picked from commit a04f1d4c87)
This commit is contained in:
committed by
Ville Brofeldt
parent
6d2b583fee
commit
5a8cd3477b
@@ -74,8 +74,6 @@ def dataset_id() -> int:
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def cache(chart_id, admin_id, dataset_id):
|
||||
app.config["EXPLORE_FORM_DATA_CACHE_CONFIG"] = {"CACHE_TYPE": "SimpleCache"}
|
||||
cache_manager.init_app(app)
|
||||
entry: TemporaryExploreState = {
|
||||
"owner": admin_id,
|
||||
"dataset_id": dataset_id,
|
||||
|
||||
Reference in New Issue
Block a user