Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai committed Jan 16, 2025
1 parent 63d7390 commit 9b2164d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions node/pkg/checker/dal/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func (u *UpdateTimes) CheckLastUpdateOffsets(alarmCount map[string]int) []string
websocketNotPushedCount := 0
var messages []string
for symbol, updateTime := range u.lastUpdates {
if slices.Contains(checker.DelistedSymbols, symbol) {
if slices.Contains(checker.SymbolsToBeDelisted, symbol) {
continue
}

Expand Down Expand Up @@ -170,7 +170,7 @@ func checkDal(endpoint string, key string, alarmCount map[string]int, networkDel

totalDelayed := 0
for _, data := range resp {
if slices.Contains(checker.DelistedSymbols, data.Symbol) {
if slices.Contains(checker.SymbolsToBeDelisted, data.Symbol) {
continue
}

Expand Down
2 changes: 1 addition & 1 deletion node/pkg/checker/delisted.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package checker

var DelistedSymbols = []string{
var SymbolsToBeDelisted = []string{
"JOY-USDT",
}
2 changes: 1 addition & 1 deletion node/pkg/checker/event/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func setUp(ctx context.Context) (*CheckList, error) {

FeedsToCheck := []FeedToCheck{}
for _, config := range configs {
if slices.Contains(checker.DelistedSymbols, config.Name) {
if slices.Contains(checker.SymbolsToBeDelisted, config.Name) {
continue
}

Expand Down

0 comments on commit 9b2164d

Please sign in to comment.