Skip to content

Commit

Permalink
Update default stresser timeout to 10 seconds on read
Browse files Browse the repository at this point in the history
  • Loading branch information
jwriteclub committed Nov 12, 2017
1 parent d58a434 commit e747732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tenta-dns/stresser/stresser.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func (w *worker) doWork(id uint) {
c.SingleInflight = true
c.DialTimeout = time.Second
c.WriteTimeout = time.Second * 3
c.ReadTimeout = time.Second * 5
c.ReadTimeout = time.Second * 10
in, _, err := c.Exchange(m, net.JoinHostPort(*ip, strconv.Itoa(int(*port))))
s := false
msg := ""
Expand Down

0 comments on commit e747732

Please sign in to comment.