grafana/pkg/infra/remotecache
Sofia Papagiannaki 8b77ee2734
SQLStore: Ensure that sessions are always closed (#55864)
* SQLStore: Ensure that sessions are always closed

Delete `NewSession()` in favour of `WithDbSession()`

* Add WithDbSessionForceNewSession to the interface

* Apply suggestions from code review
2022-09-29 15:55:47 +03:00
..
database_storage_test.go Chore: Remove context.TODO() (#43409) 2021-12-22 11:02:42 +01:00
database_storage.go SQLStore: Ensure that sessions are always closed (#55864) 2022-09-29 15:55:47 +03:00
memcached_storage_integration_test.go Chore: update all +build statements (#38782) 2021-09-01 17:38:56 +03:00
memcached_storage.go Chore: Remove context.TODO() (#43409) 2021-12-22 11:02:42 +01:00
redis_storage_integration_test.go Chore: update all +build statements (#38782) 2021-09-01 17:38:56 +03:00
redis_storage_test.go Chore: Add go-redis v8 dependency (#39442) 2021-09-20 22:21:59 +02:00
redis_storage.go Chore: Remove Wrap (#50048) 2022-06-03 09:24:24 +02:00
remotecache_test.go Chore: Remove context.TODO (#43458) 2021-12-28 10:26:18 +01:00
remotecache.go Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
testing.go Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00