From b4207fd077b7b03a1dbcc368cc9524cf1e003c2a Mon Sep 17 00:00:00 2001 From: nick Date: Thu, 16 Jan 2025 13:37:58 +0900 Subject: [PATCH] fix: add skip --- node/pkg/checker/offset/app.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/node/pkg/checker/offset/app.go b/node/pkg/checker/offset/app.go index 91981877e..84065a254 100644 --- a/node/pkg/checker/offset/app.go +++ b/node/pkg/checker/offset/app.go @@ -8,8 +8,10 @@ import ( "errors" "fmt" "math" + "slices" "bisonai.com/miko/node/pkg/alert" + "bisonai.com/miko/node/pkg/checker" "bisonai.com/miko/node/pkg/db" "bisonai.com/miko/node/pkg/secrets" @@ -136,6 +138,10 @@ func checkOffsets(ctx context.Context, serviceDB *pgxpool.Pool) { localAggregateDelayedOffsetCount := 0 globalAggregateDelayedOffsetCount := 0 for _, config := range loadedConfigs { + if slices.Contains(checker.SymbolsToBeDelisted, config.Name) { + continue + } + log.Debug().Int32("id", config.ID).Str("name", config.Name).Msg("checking config offset") localAggregateOffsetResult, err := db.QueryRowTransient[OffsetResultEach](ctx, serviceDB, fmt.Sprintf(GetSingleLocalAggregateOffset, config.ID), nil) if err != nil {