Skip to content

Commit

Permalink
fix race in test
Browse files Browse the repository at this point in the history
  • Loading branch information
tsahee committed Sep 13, 2024
1 parent 98b482f commit b5fa17d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions validator/valnode/redis/consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ func (s *ValidationServer) Start(ctx_in context.Context) {
}
})
for i := 0; i < workers; i++ {
i := i
s.StopWaiter.LaunchThread(func(ctx context.Context) {
for {
log.Debug("waiting for work", "thread", i)
Expand Down

0 comments on commit b5fa17d

Please sign in to comment.