Threaded gdbm #76

Merged
lash merged 16 commits from lash/thread-gdbm into master 2024-09-23 21:25:38 +02:00
Showing only changes of commit a455cfb854 - Show all commits

View File

@ -30,6 +30,7 @@ func(tdb *ThreadGdbmDb) Connect(ctx context.Context, connStr string) error {
_, ok = dbC[connStr] _, ok = dbC[connStr]
if ok { if ok {
logg.WarnCtxf(ctx, "already registered thread gdbm, skipping", "connStr", connStr) logg.WarnCtxf(ctx, "already registered thread gdbm, skipping", "connStr", connStr)
return nil
} }
gdb := gdbmdb.NewGdbmDb() gdb := gdbmdb.NewGdbmDb()
err := gdb.Connect(ctx, connStr) err := gdb.Connect(ctx, connStr)