mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-19 15:23:36 +00:00
chore(server): add logs to begin/end transaction
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
1 parent
15a3d2ca66
commit
5fa19f9cfa
8 files changed
+29
-15
No files matched your search
+1
-1
@@ -41,6 +41,6 @@ type DataStore interface {
|
||||
|
||||
Resource(ctx context.Context, model interface{}) ResourceRepository
|
||||
|
||||
WithTx(func(tx DataStore) error) error
|
||||
WithTx(block func(tx DataStore) error, scope ...string) error
|
||||
GC(ctx context.Context) error
|
||||
}
|
||||
Reference in new issue
Block a user