Skip to content

Commit

Permalink
Merge pull request #75 from FastLane-Labs/multi-bundler
Browse files Browse the repository at this point in the history
Add missing workgroup done call
  • Loading branch information
jj1980a authored Aug 10, 2024
2 parents 378fedd + 1bae0cf commit 2aaeb67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,8 @@ func (s *Server) runBundlingRequest(id string, bundleReq *BundleRequest, firstCa
for _, candidate := range bundlingRequest.candidatesBundlers {
wg.Add(1)
go func(candidate *Conn) {
defer wg.Done()

if relayErr := candidate.send(bundleReq); relayErr != nil {
log.Info("failed to send bundle request", "bundler", candidate.bundler.Hex(), "err", relayErr.Message)
return
Expand Down

0 comments on commit 2aaeb67

Please sign in to comment.