1
0
Fork 0
mirror of https://github.com/matrix-org/dendrite.git synced 2025-02-27 05:14:29 -06:00
dendrite/mediaapi/storage/shared
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
..
mediaapi.go Fix media DB possibly leaking connections () 2024-07-27 22:29:19 +02:00