I'm using Superset to build realtime dashboards and I want datasources (built from sqlLab resultset) be updated and cached in background on a specific day and time.
I connected superset to MySql and built some queries in SQLLab. The result of these queries is used as datasources to build charts and dashboards. The problem is that sometimes these queries take too long and chart/dashboards are not displayed correctly (e.g Query timeout - Warning Message is showed). I configured a cache time and celery async. worker, but when this cache expires dashboards are refreshed and queries related to charts/datasources are executed showing the timeout (or other error) message.
Actual results:
- Chart/dashboards show timeout warning message when refresh.
Expected results:
- Charts/dashboards always read from cache to avoid run long queries.
- Schedule background async. datasource refresh on a specific day and time.