Skip to content

Commit

Permalink
Tidy syntax and add self to AUTHORS
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelah committed Mar 17, 2015
1 parent 9c3f7cc commit 264d68c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ James Maloney <jamessagan@gmail.com>
Ashwin Purohit <purohit@gmail.com>
Dan Kinder <dkinder.is.me@gmail.com>
Oliver Beattie <oliver@obeattie.com>
Miles Delahunty <miles.delahunty@gmail.com>
2 changes: 1 addition & 1 deletion connectionpool.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ func (c *SimplePool) fillPool() {
//Create connections for host synchronously to mitigate flooding the host.
wg.Add(1)
go func(a string, conns int) {
defer func() { wg.Done() }()
defer wg.Done()
for ; conns < c.cfg.NumConns; conns++ {
c.connect(a)
}
Expand Down

0 comments on commit 264d68c

Please sign in to comment.