Merge branch 'main' of https://github.com/steveyegge/beads
This commit is contained in:
1330
.beads/beads.jsonl
1330
.beads/beads.jsonl
File diff suppressed because one or more lines are too long
@@ -92,14 +92,11 @@ func getCachedOrGenerateDB(b *testing.B, cacheKey string, generateFn func(contex
|
||||
|
||||
ctx := context.Background()
|
||||
|
||||
|
||||
store, err := New(ctx, dbPath)
|
||||
if err != nil {
|
||||
b.Fatalf("Failed to create storage: %v", err)
|
||||
}
|
||||
|
||||
ctx := context.Background()
|
||||
|
||||
// Initialize database with prefix
|
||||
if err := store.SetConfig(ctx, "issue_prefix", "bd-"); err != nil {
|
||||
store.Close()
|
||||
|
||||
@@ -127,7 +127,6 @@ func setupBenchDB(tb testing.TB) (*SQLiteStorage, func()) {
|
||||
tb.Fatalf("Failed to create storage: %v", err)
|
||||
}
|
||||
|
||||
ctx := context.Background()
|
||||
if err := store.SetConfig(ctx, "issue_prefix", "bd"); err != nil {
|
||||
tb.Fatalf("Failed to set issue_prefix: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user