dendrite/mediaapi/storage/shared
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
..
mediaapi.go Fix media DB possibly leaking connections (#3372) 2024-07-27 22:29:19 +02:00