chore(stdiscosrv): clean up s3 handling

This commit is contained in:
Jakob Borg
2024-09-13 08:48:04 +02:00
parent 63e4659282
commit 6505e123bb
5 changed files with 164 additions and 92 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ func addr(host string, port int) *net.TCPAddr {
}
func BenchmarkAPIRequests(b *testing.B) {
db := newInMemoryStore(b.TempDir(), 0)
db := newInMemoryStore(b.TempDir(), 0, nil)
ctx, cancel := context.WithCancel(context.Background())
defer cancel()
go db.Serve(ctx)