1
0
Fork 0
mirror of https://github.com/matrix-org/dendrite.git synced 2025-03-01 14:24:27 -06:00
dendrite/mediaapi/storage
Till 795c4a9453
Fix media DB possibly leaking connections ()
Grafana Pyroscope unveiled that we are hitting
ad10fbd3c4/src/database/sql/sql.go (L2739-L2742)
for media DB queries.

Making the methods pointer receivers fixes this.

(Also some minor `error` cosmetic updates)
2024-07-27 22:29:19 +02:00
..
postgres Use pointer when passing the connection manager around () 2023-07-19 13:37:04 +02:00
shared Fix media DB possibly leaking connections () 2024-07-27 22:29:19 +02:00
sqlite3 Use pointer when passing the connection manager around () 2023-07-19 13:37:04 +02:00
tables refactor: update GMSL () 2023-04-19 15:50:33 +01:00
interface.go refactor: update GMSL () 2023-04-19 15:50:33 +01:00
storage.go Use pointer when passing the connection manager around () 2023-07-19 13:37:04 +02:00
storage_test.go Remove BaseDendrite () 2023-03-22 09:21:32 +01:00
storage_wasm.go Preparations for removing BaseDendrite () 2023-03-17 11:09:45 +00:00