Skip to content

Commit

Permalink
fix timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
schollz committed Oct 10, 2018
1 parent 42344a4 commit 91e0655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/comm/comm.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Comm struct {
func New(c net.Conn) Comm {
c.SetReadDeadline(time.Now().Add(3 * time.Hour))
c.SetDeadline(time.Now().Add(3 * time.Hour))
c.SetWriteDeadline(time.Now().Add(5 * time.Second))
c.SetWriteDeadline(time.Now().Add(3 * time.Hour))
return Comm{c}
}

Expand Down

0 comments on commit 91e0655

Please sign in to comment.