Skip to content

Commit 91e0655

Browse files
committed
fix timeout
1 parent 42344a4 commit 91e0655

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/comm/comm.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type Comm struct {
1818
func New(c net.Conn) Comm {
1919
c.SetReadDeadline(time.Now().Add(3 * time.Hour))
2020
c.SetDeadline(time.Now().Add(3 * time.Hour))
21-
c.SetWriteDeadline(time.Now().Add(5 * time.Second))
21+
c.SetWriteDeadline(time.Now().Add(3 * time.Hour))
2222
return Comm{c}
2323
}
2424

0 commit comments

Comments
 (0)