0.27.4 — fix: StartRefreshLoop was blocking startup, wrap in goroutine
Some checks failed
ci / build-test (push) Has been cancelled
ci / docker-build (push) Has been cancelled
ci / web (push) Has been cancelled
Desktop App / Build Linux (amd64) (push) Has been cancelled
Desktop App / Attach to Release (push) Has been cancelled

This commit is contained in:
2026-08-08 21:07:51 +02:00
parent 653ea3a116
commit cecfd8b0e4
2 changed files with 3 additions and 3 deletions

View File

@@ -1 +1 @@
0.27.3 0.27.4

View File

@@ -96,9 +96,9 @@ func NewHandler(ctx context.Context, pool *db.Pool, cfg config.Config) http.Hand
s.secretsManager = secrets.NewManager(primary, fallback) s.secretsManager = secrets.NewManager(primary, fallback)
slog.Info("secrets backend wired", "backend", "infisical+sops", "site", cfg.InfisicalSiteURL) slog.Info("secrets backend wired", "backend", "infisical+sops", "site", cfg.InfisicalSiteURL)
// Start background secret refresh loop. // Start background secret refresh loop (non-blocking).
if mgr, ok := s.secretsManager.(*secrets.Manager); ok { if mgr, ok := s.secretsManager.(*secrets.Manager); ok {
mgr.StartRefreshLoop(ctx) safego.Go("secrets:refresh", func() { mgr.StartRefreshLoop(ctx) })
} }
// Pre-load SSH host keys from Infisical for host verification. // Pre-load SSH host keys from Infisical for host verification.