diff options
author | Till <2353100+S7evinK@users.noreply.github.com> | 2024-07-27 22:29:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-27 22:29:19 +0200 |
commit | 795c4a9453e6775714ae73099e2a64df1c41743b (patch) | |
tree | 069da86e014e779d38204b4043ae456029fe45e2 /roomserver/storage/sqlite3/user_room_keys_table.go | |
parent | a2e56dccb0a6c525e1634ec35be5c8ff703cb70d (diff) |
Fix media DB possibly leaking connections (#3372)
Grafana Pyroscope unveiled that we are hitting
https://github.com/golang/go/blob/ad10fbd3c4ec7413775028213f4d5089b18926f7/src/database/sql/sql.go#L2739-L2742
for media DB queries.
Making the methods pointer receivers fixes this.
(Also some minor `error` cosmetic updates)
Diffstat (limited to 'roomserver/storage/sqlite3/user_room_keys_table.go')
0 files changed, 0 insertions, 0 deletions