From 5629c05c0826287d2112862fc10a3d2eb6faa05f Mon Sep 17 00:00:00 2001 From: nick Date: Mon, 19 Aug 2024 21:12:44 +0900 Subject: [PATCH] fix: add missing thread --- node/pkg/dal/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/pkg/dal/app.go b/node/pkg/dal/app.go index 440e7c523..c5e4ccb65 100644 --- a/node/pkg/dal/app.go +++ b/node/pkg/dal/app.go @@ -22,7 +22,7 @@ type Config = types.Config func Run(ctx context.Context) error { log.Debug().Msg("Starting DAL API server") - stats.Start(ctx) + go stats.Start(ctx) keyCache := keycache.NewAPIKeyCache(1 * time.Hour) keyCache.CleanupLoop(10 * time.Minute)