Skip to content

Commit

Permalink
(fix): Be more permissive during retries about workflow remote execut…
Browse files Browse the repository at this point in the history
…ion initialization
  • Loading branch information
justinkaseman committed Nov 20, 2024
1 parent 226211a commit c4daa70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/capabilities/remote/executable/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,8 @@ func (c *client) sendRequest(req *request.ClientRequest) error {
c.lggr.Debugw("executing remote execute capability", "requestID", req.ID())

if _, ok := c.requestIDToCallerRequest[req.ID()]; ok {
return fmt.Errorf("request for ID %s already exists", req.ID())
c.lggr.Debugw("request for ID already exists", "requestID", req.ID())
return nil
}

c.requestIDToCallerRequest[req.ID()] = req
Expand Down

0 comments on commit c4daa70

Please sign in to comment.