diff --git a/cmd/appview/serve.go b/cmd/appview/serve.go index 963232f..268a07b 100644 --- a/cmd/appview/serve.go +++ b/cmd/appview/serve.go @@ -161,14 +161,14 @@ func serveRegistry(cmd *cobra.Command, args []string) error { // Initialize Jetstream workers (background services before HTTP routes) initializeJetstream(uiDatabase, &cfg.Jetstream, defaultHoldDID, testMode, refresher) - // Run stats migration to holds (one-time migration, skipped if already done) - go func() { - // Wait for services to be ready (Docker startup race condition) - time.Sleep(10 * time.Second) - if err := db.MigrateStatsToHolds(context.Background(), uiDatabase); err != nil { - slog.Warn("Stats migration failed", "error", err) - } - }() + // // Run stats migration to holds (one-time migration, skipped if already done) + // go func() { + // // Wait for services to be ready (Docker startup race condition) + // time.Sleep(10 * time.Second) + // if err := db.MigrateStatsToHolds(context.Background(), uiDatabase); err != nil { + // slog.Warn("Stats migration failed", "error", err) + // } + // }() // Create main chi router mainRouter := chi.NewRouter()