Skip to content

Commit

Permalink
fix: add skip (#2351)
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai authored Jan 16, 2025
1 parent e274c85 commit a0748c9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions node/pkg/checker/offset/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit a0748c9

Please sign in to comment.