Skip to content

Commit

Permalink
Merge pull request #66 from kayac/fix/response-queue-larger
Browse files Browse the repository at this point in the history
extend response queue size x 100.
  • Loading branch information
fujiwara authored Oct 29, 2020
2 parents 5993f85 + 1449698 commit 1e46722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supervisor.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ func StartSupervisor(conf *config.Config) (Supervisor, error) {
worker := Worker{
id: i,
queue: make(chan Request, wqSize),
respq: make(chan SenderResponse, wqSize),
respq: make(chan SenderResponse, wqSize*100),
wgrp: &sync.WaitGroup{},
sn: SenderNum,
ac: ac,
Expand Down

0 comments on commit 1e46722

Please sign in to comment.