Skip to content

Commit

Permalink
Prevent sending back failed messages for the local workers
Browse files Browse the repository at this point in the history
  • Loading branch information
restevens402 committed Jul 18, 2024
1 parent a20187c commit b557a42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/workers/workers.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,9 @@ func SendWork(node *masa.OracleNode, m *pubsub2.Message) {
if err != nil {
logrus.Debugf("Error getting response message: %v", err)
return
} else {
// don't send back failed messages here
return
}
}
workerDoneCh <- msg
Expand Down

0 comments on commit b557a42

Please sign in to comment.