mirror of https://github.com/grafana/grafana.git
Fix bug with engine cache not updating after data source updated, introduced in #36635. Removes the SQL engine cache because since #36635 we already have instance caching in place using the SDK instance manager. This also adds support for disposing cached SQL/xorm engines before a query happens to a data source that has been updated. Done by letting the SQL engine implementing the InstanceDisposer interface. Fixes #37299 |
||
|---|---|---|
| .. | ||
| resample.go | ||
| resample_test.go | ||
| sql_engine.go | ||
| sql_engine_test.go | ||