Skip to content

Commit

Permalink
Merge pull request #174 from xitongsys/master
Browse files Browse the repository at this point in the history
fix err chan size in server.go
  • Loading branch information
RichardKnop authored Sep 7, 2017
2 parents 0247ab8 + f236d6b commit 0601e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v1/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func (server *Server) SendGroup(group *tasks.Group, sendConcurrency int) ([]*bac

var wg sync.WaitGroup
wg.Add(len(group.Tasks))
errorsChan := make(chan error)
errorsChan := make(chan error, len(group.Tasks)*2)

// Init group
server.backend.InitGroup(group.GroupUUID, group.GetUUIDs())
Expand Down

0 comments on commit 0601e25

Please sign in to comment.