Skip to content

Commit

Permalink
update to break for loop on update agents?
Browse files Browse the repository at this point in the history
  • Loading branch information
sagostin committed Jul 11, 2024
1 parent 1e18e74 commit 1cc7e4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions workers/probe.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ func startCheckWorker(id primitive.ObjectID, dataChan chan probes.ProbeData, thi
} else {
// Update the allowed agents list dynamically
updateAllowedAgents(trafficSimServer, allowedAgentsList)
break
}
continue
} else {
Expand Down

0 comments on commit 1cc7e4f

Please sign in to comment.