eventstore: delete badger, it's too buggy.

This commit is contained in:
fiatjaf
2025-08-04 12:23:43 -03:00
parent 50c9ea3867
commit 6bda63de17
23 changed files with 19 additions and 1550 deletions
+8 -8
View File
@@ -49,14 +49,14 @@ func detect(dir string) (string, error) {
}
}
}
for _, entry := range entries {
if strings.HasSuffix(entry.Name(), ".mdb") {
return "lmdb", nil
}
if strings.HasSuffix(entry.Name(), ".vlog") {
return "badger", nil
}
}
// for _, entry := range entries {
// if strings.HasSuffix(entry.Name(), ".mdb") {
// return "lmdb", nil
// }
// if strings.HasSuffix(entry.Name(), ".vlog") {
// return "badger", nil
// }
// }
return "", fmt.Errorf("undetected")
}