Skip to content

Commit

Permalink
Merge pull request #10 from jbenet/fix/more-buffer
Browse files Browse the repository at this point in the history
fix: add some more buffer room to the fd limit
  • Loading branch information
Stebalien authored Mar 9, 2020
2 parents aa23233 + 556031a commit bc0f5b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hang-fds.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func dialAndHang(i int, m ma.Multiaddr, errs chan<- error) {

func fdHang(n int, m ma.Multiaddr, hold time.Duration) error {
// first, make sure we raise our own fds to be enough.
if err := fdRaise(n + 10); err != nil {
if err := fdRaise(n + 20); err != nil {
return err
}

Expand Down

0 comments on commit bc0f5b4

Please sign in to comment.