A container registry that uses the AT Protocol for manifest storage and S3 for blob storage.

disable stats migration

evan.jarrett.net 74c90697 cd6928ec

verified
+8 -8
+8 -8
cmd/appview/serve.go
··· 161 161 // Initialize Jetstream workers (background services before HTTP routes) 162 162 initializeJetstream(uiDatabase, &cfg.Jetstream, defaultHoldDID, testMode, refresher) 163 163 164 - // Run stats migration to holds (one-time migration, skipped if already done) 165 - go func() { 166 - // Wait for services to be ready (Docker startup race condition) 167 - time.Sleep(10 * time.Second) 168 - if err := db.MigrateStatsToHolds(context.Background(), uiDatabase); err != nil { 169 - slog.Warn("Stats migration failed", "error", err) 170 - } 171 - }() 164 + // // Run stats migration to holds (one-time migration, skipped if already done) 165 + // go func() { 166 + // // Wait for services to be ready (Docker startup race condition) 167 + // time.Sleep(10 * time.Second) 168 + // if err := db.MigrateStatsToHolds(context.Background(), uiDatabase); err != nil { 169 + // slog.Warn("Stats migration failed", "error", err) 170 + // } 171 + // }() 172 172 173 173 // Create main chi router 174 174 mainRouter := chi.NewRouter()