Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
samjjc committed Feb 16, 2018
1 parent 687934f commit dafd9c5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file removed balance
Binary file not shown.
2 changes: 1 addition & 1 deletion pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type Pool []*Worker
func NewPool(size int, done chan *Worker) *Pool {
var pool Pool
for i := 0; i < size; i++ {
requests := make(chan Request, 300)
requests := make(chan Request, 100)
worker := Worker{requests, 0, i}
go worker.work(done)
pool = append(pool, &worker)
Expand Down

0 comments on commit dafd9c5

Please sign in to comment.