grafana / sqlds

A package that assists writing SQL-driven datasources
Apache License 2.0
20 stars 12 forks source link

Cache database connections based on datasource Updated time #110

Closed njvrzm closed 5 months ago

njvrzm commented 9 months ago

The most straightforward way to address https://github.com/grafana/athena-datasource/issues/264, where the cached connection is not updated when credentials are changed, is to use the updated timestamp as part of the connection cache key. To remove some code duplication and fix the same issue for all sqlds-based datasources, I'd like to make that change here.

njvrzm commented 5 months ago

No longer needed