Commit 3239aca6 authored by Felix Lange's avatar Felix Lange

p2p: bump global write timeout to 20s

The previous value of 5 seconds causes timeouts for legitimate messages
if large messages are sent.
parent 2c24a73e
......@@ -30,7 +30,7 @@ const (
frameReadTimeout = 30 * time.Second
// Maximum amount of time allowed for writing a complete message.
frameWriteTimeout = 5 * time.Second
frameWriteTimeout = 20 * time.Second
)
var errServerStopped = errors.New("server stopped")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment