tangled
alpha
login
or
join now
cuducos.me
/
at-container-registry
forked from
evan.jarrett.net/at-container-registry
0
fork
atom
A container registry that uses the AT Protocol for manifest storage and S3 for blob storage.
0
fork
atom
overview
issues
pulls
pipelines
disable stats migration
evan.jarrett.net
2 months ago
74c90697
cd6928ec
verified
This commit was signed with the committer's
known signature
.
evan.jarrett.net
SSH Key Fingerprint:
SHA256:bznk0uVPp7XFOl67P0uTM1pCjf2A4ojeP/lsUE7uauQ=
+8
-8
1 changed file
expand all
collapse all
unified
split
cmd
appview
serve.go
+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
164
-
// Run stats migration to holds (one-time migration, skipped if already done)
165
165
-
go func() {
166
166
-
// Wait for services to be ready (Docker startup race condition)
167
167
-
time.Sleep(10 * time.Second)
168
168
-
if err := db.MigrateStatsToHolds(context.Background(), uiDatabase); err != nil {
169
169
-
slog.Warn("Stats migration failed", "error", err)
170
170
-
}
171
171
-
}()
164
164
+
// // Run stats migration to holds (one-time migration, skipped if already done)
165
165
+
// go func() {
166
166
+
// // Wait for services to be ready (Docker startup race condition)
167
167
+
// time.Sleep(10 * time.Second)
168
168
+
// if err := db.MigrateStatsToHolds(context.Background(), uiDatabase); err != nil {
169
169
+
// slog.Warn("Stats migration failed", "error", err)
170
170
+
// }
171
171
+
// }()
172
172
173
173
// Create main chi router
174
174
mainRouter := chi.NewRouter()