Skip to content

Commit

Permalink
feat: add log
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai committed Dec 10, 2024
1 parent 4880eb2 commit 9771b46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions node/pkg/dal/collector/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,8 @@ func (c *Collector) processIncomingData(ctx context.Context, data *aggregator.Su
case <-ctx.Done():
return
default:
log.Debug().Any("data", data).Str("Player", "DalCollector").Msg("received data")

valid := c.compareAndSwapLatestTimestamp(data)
if !valid {
log.Debug().Str("Player", "DalCollector").Str("Symbol", data.Symbol).Msg("old data recieved")
Expand Down

0 comments on commit 9771b46

Please sign in to comment.