fix: 按完成时刻分批清理并限制读连接池

This commit is contained in:
Nixevol
2026-09-30 15:47:32 +08:00
parent 75f4647cae
commit a4e51ec5cd
9 changed files with 350 additions and 17 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ func TestFailingMigrationReusesBackup(t *testing.T) {
if err != nil {
t.Fatal(err)
}
if len(first) != 1 || first[0].Name() != "pre-migrate-v2-to-v9999.db" {
if len(first) != 1 || first[0].Name() != "pre-migrate-v4-to-v9999.db" {
t.Fatalf("first backups=%v", dirNames(first))
}