0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-05 03:32:35 +01:00
dendrite/mediaapi/storage
Till 795c4a9453
Fix media DB possibly leaking connections (#3372)
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 (#3152) 2023-07-19 13:37:04 +02:00
shared Fix media DB possibly leaking connections (#3372) 2024-07-27 22:29:19 +02:00
sqlite3 Use pointer when passing the connection manager around (#3152) 2023-07-19 13:37:04 +02:00
tables refactor: update GMSL (#3058) 2023-04-19 15:50:33 +01:00
interface.go refactor: update GMSL (#3058) 2023-04-19 15:50:33 +01:00
storage.go Use pointer when passing the connection manager around (#3152) 2023-07-19 13:37:04 +02:00
storage_test.go Remove BaseDendrite (#3023) 2023-03-22 09:21:32 +01:00
storage_wasm.go Preparations for removing BaseDendrite (#3016) 2023-03-17 11:09:45 +00:00